summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/).*') #'