diff options
author | Eric Bélanger <snowmaniscool@gmail.com> | 2009-10-14 15:18:06 -0400 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-10-26 13:55:42 -0700 |
commit | f0e417f2be331b937dd56bf970c59370a55b6301 (patch) | |
tree | 319b9afb71754b26f45eaae5e2fda3cc37b09ef8 | |
parent | 2f6846c451b1b4887fd87a2bc32945cce0b943a3 (diff) |
Moved ALLOWED_LICENSES declaration to config file
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rw-r--r-- | config | 3 | ||||
-rwxr-xr-x | misc-scripts/make-sourceball | 3 |
2 files changed, 3 insertions, 3 deletions
@@ -13,3 +13,6 @@ BUILDSCRIPT="PKGBUILD" DBEXT=".db.tar.gz" PKGEXT=".pkg.tar.gz" SRCEXT=".src.tar.gz" + +# Allowed licenses: get sourceballs only for licenses in this array +ALLOWED_LICENSES=('GPL' 'GPL1' 'GPL2' 'LGPL' 'LGPL1' 'LGPL2') diff --git a/misc-scripts/make-sourceball b/misc-scripts/make-sourceball index 865e0e7..462549f 100755 --- a/misc-scripts/make-sourceball +++ b/misc-scripts/make-sourceball @@ -1,8 +1,5 @@ #!/bin/bash -# Allowed licenses: build only for licenses in this array -ALLOWED_LICENSES=('GPL' 'GPL1' 'GPL2' 'LGPL' 'LGPL1' 'LGPL2') - if [ $# -ne 3 -a $# -ne 4 ]; then echo "usage: $(basename $0) [-f] <packagename> <repo> <arch>" echo " -f Force building. Skip license checks" |