[release script] Fix mktemp usage
This commit is contained in:
parent
499a7d75b5
commit
94b5ac4797
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user