genkernel.conf: Allow overriding GK_SHARE from the environment to ease up testing...
authorSebastian Pipping <sebastian@pipping.org>
Fri, 7 Jan 2011 02:20:25 +0000 (03:20 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Fri, 7 Jan 2011 02:20:32 +0000 (03:20 +0100)
genkernel.conf

index 62b05d40b3e1ea2e2626d286f11680997decaf5e..6381550145c14e533e20fa205209bc43f62f97be 100644 (file)
@@ -133,7 +133,7 @@ DISKLABEL="yes"
 #BOOTDIR="/boot"
 
 # Default share directory location
-GK_SHARE="/usr/share/genkernel"
+GK_SHARE="${GK_SHARE:-/usr/share/genkernel}"
 
 # Location of the default cache
 CACHE_DIR="/var/cache/genkernel"