[oe-commits] [openembedded-core] 20/26: python-mako: rm -df -> rmdir
git at git.openembedded.org
git at git.openembedded.org
Mon Jun 13 10:53:30 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit b089cc3b8e14bfb8c403e193025648ea32541e98
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Wed Jun 8 02:30:42 2016 +0000
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 <liezhi.yang at windriver.com>
---
meta/recipes-devtools/python/python-mako_1.0.4.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 b10b3c3..230044e 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}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list