summaryrefslogtreecommitdiff
path: root/functions/architecture.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/architecture.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/architecture.sh')
-rwxr-xr-xfunctions/architecture.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/functions/architecture.sh b/functions/architecture.sh
index 29164d8b6..4c21458da 100755
--- a/functions/architecture.sh
+++ b/functions/architecture.sh
@@ -16,7 +16,7 @@ Check_architecture ()
for ARCHITECTURE in ${ARCHITECTURES}
do
- if [ "`echo ${LIVE_ARCHITECTURE} | grep ${ARCHITECTURE}`" ]
+ if [ "`echo ${LH_ARCHITECTURE} | grep ${ARCHITECTURE}`" ]
then
VALID="true"
break
@@ -32,13 +32,13 @@ Check_architecture ()
Check_multiarchitecture ()
{
- if [ "`echo ${LIVE_ARCHITECTURE} | wc -w`" -gt "1" ]
+ if [ "`echo ${LH_ARCHITECTURE} | wc -w`" -gt "1" ]
then
# First, only support multiarch on iso
- if [ "${LIVE_BINARY_IMAGES}" = "iso" ]
+ if [ "${LH_BINARY_IMAGES}" = "iso" ]
then
# Assemble multi-arch
- case "${LIVE_CURRENT_ARCHITECTURE}" in
+ case "${LH_CURRENT_ARCHITECTURE}" in
amd64)
DESTDIR="${DESTDIR}.amd"
DESTDIR_LIVE="${DESTDIR_LIVE}.amd"