summaryrefslogtreecommitdiff
path: root/functions/architecture.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-24 08:47:42 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:27 +0100
commitf2734daf0a9519db6b303683d3ac413a20d56e2a (patch)
tree6d9d0c85e7141243e0b40adcd847d1cc7c479448 /functions/architecture.sh
parent81a76d4adc812c16be8238fedda25bd43ab3a379 (diff)
downloadvyos-live-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.tar.gz
vyos-live-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.zip
Replacing backticks with POSIX expression.
Diffstat (limited to 'functions/architecture.sh')
-rwxr-xr-xfunctions/architecture.sh4
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" ]