[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] [https-everywhere/master] create pkg directory if it doesn't exist
Author: Seth Schoen <schoen@xxxxxxx>
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