Patrick Georgi (patrick@georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5744
-gerrit
commit 77b32f3236edc63200f65d7cee2b131b4ca6acc5 Author: Patrick Georgi patrick@georgi-clan.de Date: Wed May 14 14:30:08 2014 +0200
xcompile: move tempfile cleanup closer together
Change-Id: I4fb3041d505402de3cbcd7ec079dde5e168a90cf Signed-off-by: Patrick Georgi patrick@georgi-clan.de --- util/xcompile/xcompile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index e256c0d..cb27306 100644 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -33,6 +33,12 @@ clean_up() { fi }
+# Create temporary file(s). +TMPFILE="$(mktemp /tmp/temp.XXXX 2>/dev/null || echo /tmp/temp.78gOIUGz)" +touch "$TMPFILE" +trap clean_up EXIT + + program_exists() { type "$1" >/dev/null 2>&1 } @@ -155,11 +161,6 @@ AR_${TARCH}:=${GCCPREFIX}ar EOF }
-# Create temporary file(s). -TMPFILE="$(mktemp /tmp/temp.XXXX 2>/dev/null || echo /tmp/temp.78gOIUGz)" -touch "$TMPFILE" -trap clean_up EXIT - # Architecture definition SUPPORTED_ARCHITECTURE="x86 armv7 aarch64"