diff options
-rw-r--r-- | packages/perl/perl.inc | 4 | ||||
-rw-r--r-- | packages/perl/perl_5.8.7.bb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/perl/perl.inc b/packages/perl/perl.inc index 7e42f45314..8c7064b3ce 100644 --- a/packages/perl/perl.inc +++ b/packages/perl/perl.inc @@ -20,7 +20,7 @@ do_configure() { ln -sf ${HOSTPERL} ${STAGING_BINDIR}/hostperl cp ${HOSTPERL} hostperl cd Cross - rm Makefile.SH.patch + rm -f Makefile.SH.patch cp ${WORKDIR}/Makefile.SH.patch . cp ${WORKDIR}/config.sh-mipsel-linux . cp ${WORKDIR}/config.sh-i686-linux . @@ -52,7 +52,7 @@ do_compile() { do_install() { oe_runmake install mv ${D}/${libdir}/perl5/${PV}/${TARGET_ARCH}-${TARGET_OS}/CORE/libperl.so ${D}/${libdir}/libperl.so.${PV} - ( cd ${D}/usr/bin/; rm perl; ln -s perl${PV} perl ) + ( cd ${D}/usr/bin/; rm -f perl; ln -s perl${PV} perl ) } do_stage() { diff --git a/packages/perl/perl_5.8.7.bb b/packages/perl/perl_5.8.7.bb index a7095433a3..35384e03f4 100644 --- a/packages/perl/perl_5.8.7.bb +++ b/packages/perl/perl_5.8.7.bb @@ -29,7 +29,7 @@ do_configure() { ln -sf ${HOSTPERL} ${STAGING_BINDIR}/hostperl cp ${HOSTPERL} hostperl cd Cross - rm Makefile.SH.patch + rm -f Makefile.SH.patch cp ${WORKDIR}/Makefile.SH.patch . cp ${WORKDIR}/config.sh-mipsel-linux . cp ${WORKDIR}/config.sh-i386-linux . |