diff options
author | Daniel Baumann <daniel@debian.org> | 2009-11-21 10:16:58 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:02 +0100 |
commit | 087aebad8d711c1ffd4bff1a87d91f844a70c248 (patch) | |
tree | 13088f54090bb3d5a300e71803984156f2655f10 | |
parent | 3c09f12708366e5a3c0b86e95050175ab52e2849 (diff) | |
download | live-build-087aebad8d711c1ffd4bff1a87d91f844a70c248.zip live-build-087aebad8d711c1ffd4bff1a87d91f844a70c248.tar.gz |
Setting LH_BASE variable in defaults.sh globally.
-rwxr-xr-x | functions/defaults.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 1023805..3179df0 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -11,6 +11,8 @@ Set_defaults () { ## config/common + LH_BASE="${LH_BASE:-/usr/share/live-helper}" + # Setting mode if [ -z "${LH_MODE}" ] then @@ -217,13 +219,13 @@ Set_defaults () # Setting includes if [ -z "${LH_INCLUDES}" ] then - LH_INCLUDES="${LH_BASE:-/usr/share/live-helper}/includes" + LH_INCLUDES="${LH_BASE}/includes" fi # Setting templates if [ -z "${LH_TEMPLATES}" ] then - LH_TEMPLATES="${LH_BASE:-/usr/share/live-helper}/templates" + LH_TEMPLATES="${LH_BASE}/templates" fi # Setting live helper options |