summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2018-04-17 13:18:59 +0200
committerJonas Smedegaard <dr@jones.dk>2018-04-17 13:20:53 +0200
commit7ef887a986d64a8b4c3ec10416fc70a0a01c1aef (patch)
treecc62eaade529d5a2d65c937201539b3009fd4486
parentb774d0f4ffaaecf5a7d91d84d589279ac42a43c3 (diff)
Fix syntax of arch-test test.1.0b11
-rwxr-xr-xskel/multistrap-hooks/completion_50_configscript.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/skel/multistrap-hooks/completion_50_configscript.sh b/skel/multistrap-hooks/completion_50_configscript.sh
index 99a0a36..14184f2 100755
--- a/skel/multistrap-hooks/completion_50_configscript.sh
+++ b/skel/multistrap-hooks/completion_50_configscript.sh
@@ -40,7 +40,7 @@ if [ "$arch" != "$arch_host" ]; then
multiarch=$(basename "$(dirname "$(find "$fs/usr/lib" -type d -name libfakeroot)")")
cpu=$(echo "$multiarch" | cut -d- -f1)
fi
- if [ which arch-test ] && arch-test "$arch"; then
+ if which arch-test && arch-test "$arch"; then
qemu=
else
qemu=$(/usr/sbin/update-binfmts --display "qemu-$cpu" | grep -Po '(?<=interpreter = /usr/bin/).*') #'