]> git.phdru.name Git - audio-cdr-video.git/commitdiff
Switch branch before setting umask
authorOleg Broytman <phd@phdru.name>
Wed, 15 Jan 2014 04:33:22 +0000 (08:33 +0400)
committerOleg Broytman <phd@phdru.name>
Wed, 15 Jan 2014 04:33:22 +0000 (08:33 +0400)
mk-distr

index ef674edf9173f341f2a4132c1ad63a7b401655a5..d7905359e5aa96269fd092bb26d94da07b32ae8f 100755 (executable)
--- 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 &&