From bb95775874ffcaeb8a11dcac8ce723c158ed62ed Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 15 Jan 2014 08:33:22 +0400 Subject: [PATCH] Switch branch before setting umask --- mk-distr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 && -- 2.39.5