summaryrefslogtreecommitdiffstats
path: root/meta/classes/gtk-doc.bbclass
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2017-03-25 14:03:55 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-27 11:08:34 +0100
commitf5187871ce03fc24cb0017cff1089a288f50a24f (patch)
tree83fa8184f091b1eacaecdb689609cdfdda2a6f5f /meta/classes/gtk-doc.bbclass
parent871363251a2de8fd701e80f711fbd3770dbf992e (diff)
downloadopenembedded-core-contrib-f5187871ce03fc24cb0017cff1089a288f50a24f.tar.gz
classes: Replace "if test" file tests with POSIX file tests
In entire meta/classes/ directory, replace shell tests of the form "if test -? ..." with POSIX tests of the form "if [ -? ... (From OE-Core rev: 78928016f4cf38cf6751cb089200bf950d07ae93) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gtk-doc.bbclass')
-rw-r--r--meta/classes/gtk-doc.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass
index 297eac63b7..0ae2729c0a 100644
--- a/meta/classes/gtk-doc.bbclass
+++ b/meta/classes/gtk-doc.bbclass
@@ -50,7 +50,7 @@ export GIO_MODULE_DIR=${STAGING_LIBDIR}/gio/modules-dummy
GIR_EXTRA_LIBS_PATH=\`find ${B} -name .libs| tr '\n' ':'\`\$GIR_EXTRA_LIBS_PATH
-if test -d ".libs"; then
+if [ -d ".libs" ]; then
$qemu_binary ".libs/\$@"
else
$qemu_binary "\$@"