summaryrefslogtreecommitdiffstats
path: root/meta/classes/distutils-tools.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/distutils-tools.bbclass
parent871363251a2de8fd701e80f711fbd3770dbf992e (diff)
downloadpoky-f5187871ce03fc24cb0017cff1089a288f50a24f.tar.gz
classes: Replace "if test" file tests with POSIX file testsuninative-1.6
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/distutils-tools.bbclass')
-rw-r--r--meta/classes/distutils-tools.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/distutils-tools.bbclass b/meta/classes/distutils-tools.bbclass
index 3ef9cc5a78..6f2880ea01 100644
--- a/meta/classes/distutils-tools.bbclass
+++ b/meta/classes/distutils-tools.bbclass
@@ -63,7 +63,7 @@ distutils_do_install() {
63 # 63 #
64 # FIXME: Bandaid against wrong datadir computation 64 # FIXME: Bandaid against wrong datadir computation
65 # 65 #
66 if test -e ${D}${datadir}/share; then 66 if [ -e ${D}${datadir}/share ]; then
67 mv -f ${D}${datadir}/share/* ${D}${datadir}/ 67 mv -f ${D}${datadir}/share/* ${D}${datadir}/
68 fi 68 fi
69} 69}