From: Robert Yang Date: Wed, 8 Jun 2016 02:30:42 +0000 (+0000) Subject: python-mako: rm -df -> rmdir X-Git-Tag: uninative-1.3~673 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=0a78e2051e6e735e3a47a8d46d150f5e62ba505c;p=openembedded-core.git 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. Signed-off-by: Robert Yang --- 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} }