[oe-commits] Koen Kooi : gnutls: don't fail on missing files we try to rm

git version control git at git.openembedded.org
Mon Oct 18 13:43:07 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 4988dd790d691a6e0239a3dd3a50538e8fc59a27
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4988dd790d691a6e0239a3dd3a50538e8fc59a27

Author: Koen Kooi <koen at openembedded.org>
Date:   Mon Oct 18 15:39:24 2010 +0200

gnutls: don't fail on missing files we try to rm

This is also needed when doing -c configure -f twice in a row

---

 recipes/gnutls/gnutls_2.10.1.bb |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes/gnutls/gnutls_2.10.1.bb b/recipes/gnutls/gnutls_2.10.1.bb
index 84efb1f..86c13ed 100644
--- a/recipes/gnutls/gnutls_2.10.1.bb
+++ b/recipes/gnutls/gnutls_2.10.1.bb
@@ -1,6 +1,6 @@
 require gnutls.inc
 
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.3"
 
 LICENSE_${PN}-extra = "GPLv3"
 
@@ -16,9 +16,9 @@ do_configure_prepend() {
  MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
 
  for i in ${MACROS}; do
-   rm m4/$i
-   rm lib/m4/$i
-   rm libextra/m4/$i
+   rm -f m4/$i
+   rm -f lib/m4/$i
+   rm -f libextra/m4/$i
  done
 
 }





More information about the Openembedded-commits mailing list