diff options
author | Ming Liu <ming.liu@windriver.com> | 2014-07-03 15:49:08 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-03 12:55:54 +0100 |
commit | 0f107a76713cebb49004d48fd410d9f014dda4b3 (patch) | |
tree | a14a2c8dbd7e91eb3a2c04de1e6893f3c969977d /meta/recipes-extended | |
parent | c36d459f0d40bdbd3ba809835e0475e8992bc778 (diff) | |
download | openembedded-core-0f107a76713cebb49004d48fd410d9f014dda4b3.tar.gz openembedded-core-0f107a76713cebb49004d48fd410d9f014dda4b3.tar.bz2 openembedded-core-0f107a76713cebb49004d48fd410d9f014dda4b3.zip |
groff: remove redundant code snippet
The exact same code snippet exists both in do_install_append and
do_install_append_class-native which is not necessary.
Remove it from do_install_append_class-native.
Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/groff/groff_1.22.2.bb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/recipes-extended/groff/groff_1.22.2.bb b/meta/recipes-extended/groff/groff_1.22.2.bb index 227f9fa621..63f0425ea4 100644 --- a/meta/recipes-extended/groff/groff_1.22.2.bb +++ b/meta/recipes-extended/groff/groff_1.22.2.bb @@ -55,14 +55,6 @@ do_install_append() { } do_install_append_class-native() { - # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location - # for target as /usr/bin/perl, so fix it to /usr/bin/perl. - for i in afmtodit mmroff; do - if [ -f ${D}${bindir}/$i ]; then - sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/$i - fi - done - create_cmdline_wrapper ${D}/${bindir}/groff \ -F${STAGING_DIR_NATIVE}${datadir_native}/groff/${PV}/font \ -M${STAGING_DIR_NATIVE}${datadir_native}/groff/${PV}/tmac |