[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH 2/4] Allow 'BASE' to be overriden



From:  <otavio@debian.org>

To make hacking easier we allow user to set the live-package base
using the 'LIVE_BASE' environment variable. If this variable isn't
provided BASE is set to '/usr/share/make-live' by default.
---

 src/main.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main.sh b/src/main.sh
index 229a241..05c8b1b 100755
--- a/src/main.sh
+++ b/src/main.sh
@@ -25,7 +25,7 @@ # can be found in /usr/share/common-lice
 set -e
 
 # Set static variables
-BASE="/usr/share/make-live"
+BASE=${LIVE_BASE:-"/usr/share/make-live"}
 CONFIG="/etc/make-live.conf"
 PROGRAM="`basename ${0}`"
 VERSION="0.99.12"


Reply to: