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:
parent
49356933f5
commit
4024d9ca11
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue