[tor-commits] [torbutton/master] Fix #12172: Enhance makepkg.sh to create the pkg directory if doesn't already exist

mikeperry at torproject.org mikeperry at torproject.org
Thu Jun 5 10:26:15 UTC 2014


commit 4af89e0cace0d638d6793a6d8fecd475e263d693
Author: Arthur Edelstein <arthuredelstein at gmail.com>
Date:   Mon Jun 2 11:40:31 2014 -0700

    Fix #12172: Enhance makepkg.sh to create the pkg directory if doesn't already exist
---
 makexpi.sh |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/makexpi.sh b/makexpi.sh
index 580bcf5..4d01e2c 100755
--- a/makexpi.sh
+++ b/makexpi.sh
@@ -17,6 +17,8 @@ cd ../..
 
 # create .xpi
 echo ---------- create $APP_NAME.xpi ----------
+# create the pkg directory if it doesn't exist yet
+mkdir -p pkg
 cd src
 echo zip -X -9r ../pkg/$XPI_NAME ./ -x "chrome/*" -x "*.diff" -x "*.svn/*"
 zip -X -9r ../pkg/$XPI_NAME ./ -x "*.svn/*" -x "*.diff" -x "components/torRefSpoofer.js" #-x "chrome/*"



More information about the tor-commits mailing list