[gnome-continuous-yocto/gnomeostree-3.28-rocko: 857/8267] python-mako: rm -df -> rmdir
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 857/8267] python-mako: rm -df -> rmdir
- Date: Sat, 16 Dec 2017 21:00:51 +0000 (UTC)
commit a0006fd49dea95c02ef00ac2fb076f33d456ddb1
Author: Robert Yang <liezhi yang windriver com>
Date: 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.
(From OE-Core rev: 0a78e2051e6e735e3a47a8d46d150f5e62ba505c)
Signed-off-by: Robert Yang <liezhi yang windriver com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/recipes-devtools/python/python-mako_1.0.4.bb | 2 +-
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 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}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]