summaryrefslogtreecommitdiff
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
parentfe4d9f421f55201f505268a2256f92f1efc30fd5 (diff)
perl: Add -f option to rm, fixing read only file issues
-rw-r--r--packages/perl/perl.inc4
-rw-r--r--packages/perl/perl_5.8.7.bb2
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 .