[oe-commits] Richard Purdie : unfs-server: Fix do_configure so it can be re-executed safely

git at git.openembedded.org git at git.openembedded.org
Sun Apr 15 16:37:39 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 43e6fec78e36beb770fd47b0c4631d7382025d6b
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=43e6fec78e36beb770fd47b0c4631d7382025d6b

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Sun Apr 15 14:02:02 2012 +0100

unfs-server: Fix do_configure so it can be re-executed safely

[YOCTO #2194]

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../unfs-server/unfs-server_2.1+2.2beta47.bb       |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/unfs-server/unfs-server_2.1+2.2beta47.bb b/meta/recipes-devtools/unfs-server/unfs-server_2.1+2.2beta47.bb
index 4e619c5..d03c153 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server_2.1+2.2beta47.bb
+++ b/meta/recipes-devtools/unfs-server/unfs-server_2.1+2.2beta47.bb
@@ -62,7 +62,9 @@ do_configure_prepend () {
     # 64-bit architectures:
     rm -f *_xdr.c
 
-    mv aclocal.m4 acinclude.m4
+    if [ ! -f ${S}/acinclude.m4 ]; then
+        mv ${S}/aclocal.m4 ${S}/acinclude.m4
+    fi
 }
 
 # This recipe is intended for -native and -nativesdk builds only,





More information about the Openembedded-commits mailing list