[oe-commits] [openembedded-core] 07/27: python-mako: rm -df -> rmdir

git at git.openembedded.org git at git.openembedded.org
Tue Jun 14 10:28:40 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 0cd96007a843060823401c6a663a2d23f28f792b
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