summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-07 16:14:06 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-07 16:14:06 +0200
commit140c187203be9d000c0cbad02fdfb7adb972937c (patch)
treefc4097b0480cd7b893938d1f821d7b29e7ecefca
parentd989142a17315f20f038d025008350fc413ca5f1 (diff)
downloaddbscripts-140c187203be9d000c0cbad02fdfb7adb972937c.tar.gz
dbscripts-140c187203be9d000c0cbad02fdfb7adb972937c.tar.xz
Override default config with config.local
This is useful for local testing
-rw-r--r--config3
1 files changed, 3 insertions, 0 deletions
diff --git a/config b/config
index 1cd533f..5e7ab94 100644
--- a/config
+++ b/config
@@ -21,3 +21,6 @@ SRCEXT=".src.tar.gz"
# Allowed licenses: get sourceballs only for licenses in this array
ALLOWED_LICENSES=('GPL' 'GPL1' 'GPL2' 'LGPL' 'LGPL1' 'LGPL2')
+
+# Override default config with config.local
+[ -f "$(dirname $0)/config.local" ] && . "$(dirname $0)/config.local"