diff options
Diffstat (limited to 'functions/architecture.sh')
-rwxr-xr-x | functions/architecture.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/architecture.sh b/functions/architecture.sh index 4c21458da..d9c84f869 100755 --- a/functions/architecture.sh +++ b/functions/architecture.sh @@ -16,7 +16,7 @@ Check_architecture () for ARCHITECTURE in ${ARCHITECTURES} do - if [ "`echo ${LH_ARCHITECTURE} | grep ${ARCHITECTURE}`" ] + if [ "$(echo ${LH_ARCHITECTURE} | grep ${ARCHITECTURE})" ] then VALID="true" break @@ -32,7 +32,7 @@ Check_architecture () Check_multiarchitecture () { - if [ "`echo ${LH_ARCHITECTURE} | wc -w`" -gt "1" ] + if [ "$(echo ${LH_ARCHITECTURE} | wc -w)" -gt "1" ] then # First, only support multiarch on iso if [ "${LH_BINARY_IMAGES}" = "iso" ] |