diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-11-25 22:50:34 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2006-11-25 22:50:34 +0000 |
commit | 17703381c34e9ba563eb3f1a55c928aa0d7db19d (patch) | |
tree | c9996630759671b5108f940f1962ef1bed18f243 /packages/perl/perl.inc | |
parent | fe4d9f421f55201f505268a2256f92f1efc30fd5 (diff) |
perl: Add -f option to rm, fixing read only file issues
Diffstat (limited to 'packages/perl/perl.inc')
-rw-r--r-- | packages/perl/perl.inc | 4 |
1 files changed, 2 insertions, 2 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() { |