[arch-dev-public] [PATCH 1/4] Moved ALLOWED_LICENSES declaration to config file

=?UTF-8?q?Eric=20B=E9langer?= snowmaniscool at gmail.com
Wed Oct 14 15:18:06 EDT 2009


Signed-off-by: Eric Bélanger <snowmaniscool at gmail.com>
---
 config                       |    3 +++
 misc-scripts/make-sourceball |    3 ---
 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"
-- 
1.6.5



More information about the arch-dev-public mailing list