[oe-commits] Jackie Huang : waf-samba.bbclass: remove bashism
git at git.openembedded.org
git at git.openembedded.org
Wed Sep 23 13:41:25 UTC 2015
Module: meta-openembedded.git
Branch: master
Commit: a01fd273804b31b22f5b9686706cefa62720081e
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=a01fd273804b31b22f5b9686706cefa62720081e
Author: Jackie Huang <jackie.huang at windriver.com>
Date: Fri Sep 18 17:13:19 2015 +0800
waf-samba.bbclass: remove bashism
use '=' instead of '==' so this works with dash as /bin/sh
Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-oe/classes/waf-samba.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-oe/classes/waf-samba.bbclass b/meta-oe/classes/waf-samba.bbclass
index 23c5556..241aa69 100644
--- a/meta-oe/classes/waf-samba.bbclass
+++ b/meta-oe/classes/waf-samba.bbclass
@@ -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
More information about the Openembedded-commits
mailing list