changed rm into rm -f to remove old libtool stuff
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Fri, 24 Dec 2010 07:50:34 +0000 (08:50 +0100)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Fri, 24 Dec 2010 15:46:33 +0000 (16:46 +0100)
this keeps things working even if the files are not there
(e.g. because configure is ran twice)

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
17 files changed:
recipes/lesstif/lesstif_0.95.0.bb
recipes/lftp/lftp_4.0.5.bb
recipes/libfribidi/libfribidi_0.10.4.bb
recipes/libgee/libgee.inc
recipes/rxtx/rxtx_2.1-7r2.bb
recipes/rxvt-unicode/rxvt-unicode_4.8.bb
recipes/rxvt-unicode/rxvt-unicode_4.9.bb
recipes/rxvt-unicode/rxvt-unicode_5.2.bb
recipes/rxvt-unicode/rxvt-unicode_5.3.bb
recipes/rxvt-unicode/rxvt-unicode_5.4.bb
recipes/rxvt-unicode/rxvt-unicode_5.6.bb
recipes/rxvt-unicode/rxvt-unicode_cvs.bb
recipes/rxvt/rxvt_2.7.9.bb
recipes/rxvt/rxvt_2.8.0.bb
recipes/util-linux-ng/util-linux-ng.inc
recipes/xmms/xmms_1.2.10.bb
recipes/xorg-driver/xf86-video-openchrome_0.2.904.bb

index 065bc97..407658a 100644 (file)
@@ -29,7 +29,7 @@ do_preconfigure() {
        mv ac_find_xft.m4 m4/
        mv acinclude.m4 m4/
 
-       rm aclocal.m4
+       rm -f aclocal.m4
 
        sed -i -e "s|LT_HAVE_FREETYPE|HAVEFREETYPE|" m4/acinclude.m4
        sed -i -e "s|LT_HAVE_XRENDER|HAVEXRENDER|" m4/acinclude.m4
index 11f181e..61e12bb 100644 (file)
@@ -11,7 +11,7 @@ SRC_URI = "http://ftp.yars.free.net/pub/source/lftp/lftp-${PV}.tar.bz2;name=u1"
 EXTRA_OECONF = "--disable-largefile --disable-rpath --with-included-readline=no"
 
 do_configure_prepend () {
-    rm ${S}/m4/iconv.m4
+    rm -f ${S}/m4/iconv.m4
 }
 
 inherit autotools gettext
index b83c484..cf93cab 100644 (file)
@@ -14,7 +14,7 @@ inherit autotools lib_package binconfig pkgconfig
 
 do_configure_prepend () {
         # this version of libtool is old - we have to nobble this file to get it to litoolize
-        rm ltconfig
-        rm aclocal.m4
-        rm acinclude.m4
+        rm -f ltconfig
+        rm -f aclocal.m4
+        rm -f acinclude.m4
 }
index 3b8d792..87220ca 100644 (file)
@@ -12,6 +12,6 @@ inherit autotools vala
 do_configure_prepend() {
      MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
       for i in ${MACROS}; do
-         rm m4/$i
+         rm -f m4/$i
       done
 }
index d2e78b1..c4944f6 100644 (file)
@@ -15,7 +15,7 @@ SRC_URI = "\
     "
 
 do_removebinaries_append() {
-       rm acinclude.m4
+       rm -f acinclude.m4
 }
 
 do_compile() {
index b246c56..bf4e1cd 100644 (file)
@@ -35,7 +35,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
 do_configure () {
        mv autoconf/configure.in . || true
-       rm autoconf/libtool.m4
+       rm -f autoconf/libtool.m4
        libtoolize --force
        autotools_do_configure
        echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
index bad8222..018514e 100644 (file)
@@ -34,7 +34,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
 do_configure () {
        mv autoconf/configure.in . || true
-       rm autoconf/libtool.m4
+       rm -f autoconf/libtool.m4
        libtoolize --force
        autotools_do_configure
        echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
index d125d37..518dafd 100644 (file)
@@ -36,7 +36,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
 do_configure () {
        mv autoconf/configure.in . || true
-       rm autoconf/libtool.m4
+       rm -f autoconf/libtool.m4
        libtoolize --force
        autotools_do_configure
        echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
index 7164e1c..ee09e6f 100644 (file)
@@ -35,7 +35,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
 do_configure () {
        mv autoconf/configure.in . || true
-       rm autoconf/libtool.m4
+       rm -f autoconf/libtool.m4
        libtoolize --force
        autotools_do_configure
        echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
index 6c15eb1..f68a511 100644 (file)
@@ -35,7 +35,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
 do_configure () {
        mv autoconf/configure.in . || true
-       rm autoconf/libtool.m4
+       rm -f autoconf/libtool.m4
        libtoolize --force
        autotools_do_configure
        echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
index 5b9c3da..8039ea1 100644 (file)
@@ -39,7 +39,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
 do_configure () {
        mv autoconf/configure.in . || true
-       rm autoconf/libtool.m4
+       rm -f autoconf/libtool.m4
        libtoolize --force
        autotools_do_configure
        echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
index 67ba216..d31b839 100644 (file)
@@ -38,7 +38,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
 do_configure () {
        mv autoconf/configure.in . || true
-       rm autoconf/libtool.m4
+       rm -f autoconf/libtool.m4
        libtoolize --force
        autotools_do_configure
        echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
index f4840b7..6cd834b 100644 (file)
@@ -29,7 +29,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
 do_configure () {
        mv autoconf/configure.in . || true
-       rm autoconf/libtool.m4
+       rm -f autoconf/libtool.m4
        libtoolize --force
        autotools_do_configure
        echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
index 0ed4392..99b4de2 100644 (file)
@@ -29,7 +29,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
 do_configure () {
        mv autoconf/configure.in . || true
-       rm autoconf/libtool.m4
+       rm -f autoconf/libtool.m4
        libtoolize --force
        autotools_do_configure
        echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
index fbc92e4..fa367d9 100644 (file)
@@ -80,7 +80,7 @@ do_configure_prepend_chinook-compat () {
 
         for i in  lt~obsolete.m4 ltsugar.m4 libtool.m4 ltoptions.m4 ltversion.m4
         do
-                rm ${S}/m4/${i}
+                rm -f ${S}/m4/${i}
         done
 }
 
index 0585a7f..34b1e07 100644 (file)
@@ -26,7 +26,7 @@ EXTRA_OECONF = "--disable-opengl --disable-esd \
 
 do_configure_prepend() {
        cp ${WORKDIR}/acinclude.m4 ${S}
-       rm ${S}/libxmms/acinclude.m4 || true
+       rm -f ${S}/libxmms/acinclude.m4 || true
        for i in $(find . -name "Makefile*") ; do
                sed -i -e 's:MKINSTALLDIRS = @MKINSTALLDIRS@:MKINSTALLDIRS = @mkdir_p@:g' \ 
                   -e 's:$(SHELL) $(MKINSTALLDIRS):$(MKINSTALLDIRS):g' $i
index 83bdf89..a1f2aca 100644 (file)
@@ -8,5 +8,5 @@ SRC_URI[archive.md5sum] = "f2481d98ef54febf5bffbb88a2a2426d"
 SRC_URI[archive.sha256sum] = "c7bdf7c48365b1d077a4be7ccc652cf3f7a0f385fddeb2d4fe71b00b6c6b7aea"
 
 do_configure_prepend() {
-        rm ${S}/acinclude.m4 || true
+        rm -f ${S}/acinclude.m4 || true
 }