summaryrefslogtreecommitdiff
path: root/functions/templates.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:17 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:26 +0100
commit0d0de885e32ff67d57bb7def451b62d75b8920ab (patch)
treecd4a159a86207401dbd5990bc0fa3c28825ab6f8 /functions/templates.sh
parentc68c0a270832ca340429878ce6a0ab606d435b06 (diff)
downloadvyos-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-xfunctions/templates.sh12
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
}