summaryrefslogtreecommitdiff
path: root/packages/perl/perl.inc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-11-25 22:50:34 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-11-25 22:50:34 +0000
commit17703381c34e9ba563eb3f1a55c928aa0d7db19d (patch)
treec9996630759671b5108f940f1962ef1bed18f243 /packages/perl/perl.inc
parentfe4d9f421f55201f505268a2256f92f1efc30fd5 (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.inc4
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() {