From 17899d277a6f5219a6b0534d38c884b264d5ad89 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Sat, 14 Feb 2009 15:04:45 -0800 Subject: Fix arg number check in make-sourceball Signed-off-by: Aaron Griffin --- misc-scripts/make-sourceball | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc-scripts') 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] " echo " -f Force building. Skip license checks" exit 1 -- cgit v1.2.3-24-g4f1b