Skip to contentSkip to conversation

waf-samba.bbclass: remove bashism

PATCH New [email protected] 1 participant 1 message Sep 18, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 waf-samba.bbclass: remove bashism

From: Jackie Huang <[email protected]>

use '=' instead of '==' so this works with dash as /bin/sh

---
 meta-oe/classes/waf-samba.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/classes/waf-samba.bbclass +1 -1
index 23c5556..241aa69 100644
@@ -22,7 +22,7 @@ CONFIGUREOPTS = " --prefix=${prefix} \
 
 do_configure() {
     qemu_binary="${@qemu_target_binary(d)}"
-    if [ ${qemu_binary} == "qemu-allarch" ]; then
+    if [ "${qemu_binary}" = "qemu-allarch" ]; then
         qemu_binary="qemuwrapper"
     fi
 
Signature · 1 line
1.9.1