From: Oleg Broytman Date: Wed, 15 Jan 2014 04:33:22 +0000 (+0400) Subject: Switch branch before setting umask X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=bb95775874ffcaeb8a11dcac8ce723c158ed62ed;p=audio-cdr-video.git Switch branch before setting umask --- diff --git a/mk-distr b/mk-distr index ef674ed..d790535 100755 --- a/mk-distr +++ b/mk-distr @@ -1,11 +1,11 @@ #! /bin/sh -umask 022 - if [ -n "$1" ]; then git checkout "$1" fi && +umask 022 && + git archive --format=tar --prefix=audio-cdr-video/ \ -o "$HOME"/tmp/audio-cdr-video.tar HEAD &&