summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2012-02-25 15:33:43 +0100
committerPatrick Georgi <patrick@georgi-clan.de>2012-03-01 00:04:06 +0100
commit9c7467ea63cb73b08b96f2d1eaf2abf37a982842 (patch)
tree71f61a7aad047574cbd2a35487d893d153f485d1
parent7be482b002804fe4b85b08acbfda4e8f10ddd637 (diff)
Fix lint test for build directories
config files are rename()d, which fails across filesystem borders. So force temporary config files in current directory. Change-Id: I583c2ab9a822a6f99f838778aa17ffd2d47eaed1 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/680 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rwxr-xr-xutil/lint/lint-002-build-dir-handling2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/lint/lint-002-build-dir-handling b/util/lint/lint-002-build-dir-handling
index f10db17533..c4f57d683a 100755
--- a/util/lint/lint-002-build-dir-handling
+++ b/util/lint/lint-002-build-dir-handling
@@ -47,7 +47,7 @@ if [ "$MAKE" = "" ]; then
fi
# prepare a config to use
-TMPCONFIG=`mktemp`
+TMPCONFIG=`mktemp .tmpconfig.XXXXXX`
rm -f $TMPCONFIG
$MAKE NOMKDIR=1 DOTCONFIG=$TMPCONFIG allyesconfig >/dev/null