diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:05:17 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:26 +0100 |
commit | 0d0de885e32ff67d57bb7def451b62d75b8920ab (patch) | |
tree | cd4a159a86207401dbd5990bc0fa3c28825ab6f8 /functions/templates.sh | |
parent | c68c0a270832ca340429878ce6a0ab606d435b06 (diff) | |
download | vyos-live-build-0d0de885e32ff67d57bb7def451b62d75b8920ab.tar.gz vyos-live-build-0d0de885e32ff67d57bb7def451b62d75b8920ab.zip |
Adding live-helper 1.0~a22-1.
Diffstat (limited to 'functions/templates.sh')
-rwxr-xr-x | functions/templates.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/functions/templates.sh b/functions/templates.sh index 54f81c1e7..59f2aef3b 100755 --- a/functions/templates.sh +++ b/functions/templates.sh @@ -14,22 +14,22 @@ Check_templates () PACKAGE="${1}" # Check user defined templates directory - if [ ! -e "${LIVE_TEMPLATES}" ] + if [ ! -e "${LH_TEMPLATES}" ] then if [ -d config/templates ] then - LIVE_TEMPLATES=config/templates + LH_TEMPLATES=config/templates else - Echo_error "templates not accessible in ${LIVE_TEMPLATES} nor config/templates" + Echo_error "templates not accessible in ${LH_TEMPLATES} nor config/templates" exit 1 fi fi - if [ -d "${LIVE_TEMPLATES}/${PACKAGE}" ] + if [ -d "${LH_TEMPLATES}/${PACKAGE}" ] then - TEMPLATES="${LIVE_TEMPLATES}/${PACKAGE}" + TEMPLATES="${LH_TEMPLATES}/${PACKAGE}" else - Echo_error "${PACKAGE} templates not accessible in ${LIVE_TEMPLATES}" + Echo_error "${PACKAGE} templates not accessible in ${LH_TEMPLATES}" exit 1 fi } |