1
0
forked from bip/bip

[release script] Fix mktemp usage

This commit is contained in:
Arnaud Cornet 2009-06-05 00:44:28 +02:00
parent 499a7d75b5
commit 94b5ac4797

View File

@ -21,7 +21,7 @@ else
fi fi
olddir=$(pwd) olddir=$(pwd)
tmpdir=$(mktemp -d /var/tmp/bip-XXXXX) tmpdir=$(mktemp -d /var/tmp/bip-XXXXXX)
git archive --format=tar --prefix=$prefix/ HEAD > $tmpdir/$prefix.tar git archive --format=tar --prefix=$prefix/ HEAD > $tmpdir/$prefix.tar
cd $tmpdir cd $tmpdir
tar xf $prefix.tar tar xf $prefix.tar