9
0
Fork 0

scripts/genenv: always pass template to mktemp

Passing a template to mktemp is mandatory on OS X.

Signed-off-by: Dirk Hörner <dirker@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Dirk Hörner 2012-06-04 22:40:19 +02:00 committed by Sascha Hauer
parent 49356933f5
commit 4024d9ca11
1 changed files with 1 additions and 1 deletions

View File

@ -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