diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-06-08 02:30:42 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-15 08:35:01 +0100 |
commit | a0006fd49dea95c02ef00ac2fb076f33d456ddb1 (patch) | |
tree | b10e636d6e383abb7b91d1e1669acab0d6b3ce5d /meta/recipes-devtools | |
parent | 0918ac9fdd94999bfed571f3e411da1a87dc3438 (diff) | |
download | poky-a0006fd49dea95c02ef00ac2fb076f33d456ddb1.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | 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 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" | |||
13 | # The same utility is packaged in python3-mako, so it would conflict | 13 | # The same utility is packaged in python3-mako, so it would conflict |
14 | do_install_append() { | 14 | do_install_append() { |
15 | rm -f ${D}${bindir}/mako-render | 15 | rm -f ${D}${bindir}/mako-render |
16 | rm -df ${D}${bindir} | 16 | rmdir ${D}${bindir} |
17 | } | 17 | } |