summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config3
-rwxr-xr-xmisc-scripts/make-sourceball3
2 files changed, 3 insertions, 3 deletions
diff --git a/config b/config
index 86a5eca..24ec37a 100644
--- a/config
+++ b/config
@@ -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"