[PATCH 6/6] scripts/genenv: always pass template to mktemp
Dirk Hörner
dirker at gmail.com
Mon Jun 4 16:40:19 EDT 2012
Passing a template to mktemp is mandatory on OS X.
Signed-off-by: Dirk Hörner <dirker at gmail.com>
---
scripts/genenv | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/genenv b/scripts/genenv
index 7b279c8..c84af0c 100755
--- a/scripts/genenv
+++ b/scripts/genenv
@@ -8,7 +8,7 @@ objtree=$2
cd $1 || exit 1
shift 2
-tempdir=$(mktemp -d)
+tempdir=$(mktemp -d tmp.XXXXXX)
for i in $*; do
cp -r $i/* $tempdir
--
1.7.10.3
More information about the barebox
mailing list