Skip to contentSkip to conversation

python-mako: rm -df -> rmdir

PATCH In review Robert Yang 1 participant 3 messages Jun 12, 2016 – Jun 13, 2016

lore
Share & tools
lore
#0 lore raw

cover python-mako: rm -df -> rmdir

The following changes since commit 207dba5b6eb04c1ae2081bac06724b3b6a198cb3:

oe-pkgdata-util: fix AttributeError (2016-06-07 21:36:09 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/rm
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/rm

Robert Yang (1):
python-mako: rm -df -> rmdir

 meta/recipes-devtools/python/python-mako_1.0.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.8.0
#1 lore raw

PATCH 1/1 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.

---
 meta/recipes-devtools/python/python-mako_1.0.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python-mako_1.0.3.bb +1 -1
index d4f426d..abab0bc 100644
@@ -26,5 +26,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}
 }
Signature · 1 line
2.8.0
#2 lore raw
In reply to Robert Yang

Rebased to for mako_1.0.4.bb:

git://git.openembedded.org/openembedded-core-contrib rbt/rm

// Robert

Quoted 15 lines · Robert Yang

The following changes since commit 207dba5b6eb04c1ae2081bac06724b3b6a198cb3:

   oe-pkgdata-util: fix AttributeError (2016-06-07 21:36:09 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/rm
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/rm

Robert Yang (1):

   python-mako: rm -df -> rmdir
  meta/recipes-devtools/python/python-mako_1.0.3.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)