diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-02-15 00:04:45 +0100 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-02-15 00:04:45 +0100 |
commit | 17899d277a6f5219a6b0534d38c884b264d5ad89 (patch) | |
tree | 2f572fff7ac5dcaab6a2d410056e1548c59c5288 /misc-scripts | |
parent | 918e009a6468587cc442c1ed62a5f0264bd28d32 (diff) | |
download | dbscripts-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-x | misc-scripts/make-sourceball | 2 |
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 |