Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git-archive-all.sh: use an actually unique tmp dir #12011

Merged
merged 1 commit into from Nov 16, 2016

Conversation

dmick
Copy link
Member

@dmick dmick commented Nov 16, 2016

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

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>
@ghost
Copy link

ghost commented Nov 16, 2016

jenkins test this please (eio/scrub failure)

@liewegas liewegas merged commit 588d631 into master Nov 16, 2016
@liewegas liewegas deleted the wip-git-archive-all branch November 16, 2016 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants