summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-06-08 02:30:42 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-15 08:35:01 +0100
commita0006fd49dea95c02ef00ac2fb076f33d456ddb1 (patch)
treeb10e636d6e383abb7b91d1e1669acab0d6b3ce5d /meta/recipes-devtools
parent0918ac9fdd94999bfed571f3e411da1a87dc3438 (diff)
downloadopenembedded-core-contrib-a0006fd49dea95c02ef00ac2fb076f33d456ddb1.tar.gz
openembedded-core-contrib-a0006fd49dea95c02ef00ac2fb076f33d456ddb1.tar.bz2
openembedded-core-contrib-a0006fd49dea95c02ef00ac2fb076f33d456ddb1.zip
python-mako: rm -df -> rmdir
The old rm (e.g., Ubuntu 12.04's) doesn't has -d option, use rmdir to make it work. BTW., the "-f" option in rm -df doesn't make any sense. (From OE-Core rev: 0a78e2051e6e735e3a47a8d46d150f5e62ba505c) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/python/python-mako_1.0.4.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python-mako_1.0.4.bb b/meta/recipes-devtools/python/python-mako_1.0.4.bb
index b10b3c3d77..230044e1a2 100644
--- a/meta/recipes-devtools/python/python-mako_1.0.4.bb
+++ b/meta/recipes-devtools/python/python-mako_1.0.4.bb
@@ -13,5 +13,5 @@ BBCLASSEXTEND = "native nativesdk"
# The same utility is packaged in python3-mako, so it would conflict
do_install_append() {
rm -f ${D}${bindir}/mako-render
- rm -df ${D}${bindir}
+ rmdir ${D}${bindir}
}