diff options
Diffstat (limited to 'functions/architecture.sh')
-rwxr-xr-x | functions/architecture.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/functions/architecture.sh b/functions/architecture.sh index 9e6a49abe..b49729348 100755 --- a/functions/architecture.sh +++ b/functions/architecture.sh @@ -15,7 +15,7 @@ Check_architecture () for ARCHITECTURE in ${ARCHITECTURES} do - if [ "$(echo ${LH_ARCHITECTURE} | grep ${ARCHITECTURE})" ] + if [ "$(echo ${LB_ARCHITECTURE} | grep ${ARCHITECTURE})" ] then VALID="true" break @@ -57,13 +57,13 @@ Check_crossarchitecture () Check_multiarchitecture () { - if [ "$(echo ${LH_ARCHITECTURE} | wc -w)" -gt "1" ] + if [ "$(echo ${LB_ARCHITECTURE} | wc -w)" -gt "1" ] then # First, only support multiarch on iso - case "${LH_BINARY_IMAGES}" in + case "${LB_BINARY_IMAGES}" in iso*) # Assemble multi-arch - case "${LH_CURRENT_ARCHITECTURE}" in + case "${LB_CURRENT_ARCHITECTURE}" in amd64) DESTDIR="${DESTDIR}.amd" DESTDIR_LIVE="${DESTDIR_LIVE}.amd" |