diff options
author | Richard Purdie <richard@openedhand.com> | 2006-11-25 22:30:23 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-11-25 22:30:23 +0000 |
commit | f4ab3a1d3a56c8a0359809a2a561cb02aa5ab475 (patch) | |
tree | 631f8970ed16582abdc09dc8c78538589d3dc4bb /meta/packages/perl | |
parent | 4f249a8efbced11400f99c182ef101b7c00e7ba8 (diff) | |
download | openembedded-core-f4ab3a1d3a56c8a0359809a2a561cb02aa5ab475.tar.gz openembedded-core-f4ab3a1d3a56c8a0359809a2a561cb02aa5ab475.tar.bz2 openembedded-core-f4ab3a1d3a56c8a0359809a2a561cb02aa5ab475.zip |
perl: Use -f option to rm, fixing read only file problems
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@959 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/perl')
-rw-r--r-- | meta/packages/perl/perl.inc | 4 | ||||
-rw-r--r-- | meta/packages/perl/perl_5.8.7.bb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/packages/perl/perl.inc b/meta/packages/perl/perl.inc index 6ee0ed702c..4f42d78ded 100644 --- a/meta/packages/perl/perl.inc +++ b/meta/packages/perl/perl.inc @@ -20,7 +20,7 @@ do_configure() { ln -sf ${HOSTPERL} ${STAGING_BINDIR_NATIVE}/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/meta/packages/perl/perl_5.8.7.bb b/meta/packages/perl/perl_5.8.7.bb index 40d499eac3..7e1ef2edf2 100644 --- a/meta/packages/perl/perl_5.8.7.bb +++ b/meta/packages/perl/perl_5.8.7.bb @@ -29,7 +29,7 @@ do_configure() { ln -sf ${HOSTPERL} ${STAGING_BINDIR_NATIVE}/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 . |