]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
git-archive-all.sh: use an actually unique tmp dir 12011/head
authorDan Mick <dan.mick@redhat.com>
Wed, 16 Nov 2016 03:42:06 +0000 (19:42 -0800)
committerDan Mick <dan.mick@redhat.com>
Wed, 16 Nov 2016 03:45:02 +0000 (19:45 -0800)
commit6cc659feea01d1b9bb051dff6cd62a683e0fb749
tree2da207faa44ef23e755617d6794de1e40cbe0f96
parent83ce0fe2f4f6e17a761586606813f02d1c86ebee
git-archive-all.sh: use an actually unique tmp dir

git archive into $TMPDIR/$(basename "$(pwd)").$FORMAT is not unique;
if two runs are running simultaneously, this will collide.  Make
TMPDIR actually unique, and then the cleanup can just remove the whole
directory as well.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
bin/git-archive-all.sh