[or-cvs] [https-everywhere/master] create pkg directory if it doesn't exist

schoen at torproject.org schoen at torproject.org
Wed Nov 10 20:35:27 UTC 2010


Author: Seth Schoen <schoen at eff.org>
Date: Wed, 10 Nov 2010 12:33:34 -0800
Subject: create pkg directory if it doesn't exist
Commit: e37c8297c4fdcecd1dbe369f35aad4895af4ef7b

---
 makexpi.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/makexpi.sh b/makexpi.sh
index d4fc73b..a3f1434 100755
--- a/makexpi.sh
+++ b/makexpi.sh
@@ -23,6 +23,7 @@ else
     TARG=HEAD
 fi
 XPI_NAME="pkg/$APP_NAME-$VERSION.xpi"
+[ -d pkg ] || mkdir pkg
 
 cd "$(dirname $0)/src"
 git archive --format=zip -9 "$TARG" . > "../$XPI_NAME"
-- 
1.7.1



More information about the tor-commits mailing list