Passing a template to mktemp is mandatory on OS X.
Signed-off-by: Dirk Hörner <[email protected]>
---
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
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox