summaryrefslogtreecommitdiffstats
path: root/misc-scripts
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-02-15 00:04:45 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2009-02-15 00:04:45 +0100
commit17899d277a6f5219a6b0534d38c884b264d5ad89 (patch)
tree2f572fff7ac5dcaab6a2d410056e1548c59c5288 /misc-scripts
parent918e009a6468587cc442c1ed62a5f0264bd28d32 (diff)
downloaddbscripts-17899d277a6f5219a6b0534d38c884b264d5ad89.tar.gz
dbscripts-17899d277a6f5219a6b0534d38c884b264d5ad89.tar.xz
Fix arg number check in make-sourceball
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'misc-scripts')
-rwxr-xr-xmisc-scripts/make-sourceball2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-scripts/make-sourceball b/misc-scripts/make-sourceball
index 51f28c1..4b6bb5c 100755
--- a/misc-scripts/make-sourceball
+++ b/misc-scripts/make-sourceball
@@ -3,7 +3,7 @@
# Allowed licenses: build only for licenses in this array
ALLOWED_LICENSES=('GPL' 'GPL1' 'GPL2' 'LGPL' 'LGPL1' 'LGPL2')
-if [ $# -ne 3 ]; then
+if [ $# -ne 3 -a $# -ne 4 ]; then
echo "usage: $(basename $0) [-f] <packagename> <repo> <arch>"
echo " -f Force building. Skip license checks"
exit 1