[oe-commits] Anders Darander : sqlite: cp instead of mv in do_configure

git at git.openembedded.org git at git.openembedded.org
Wed Apr 11 09:18:25 UTC 2012


Module: meta-openembedded.git
Branch: master
Commit: 21b04f590feb7dbd9e5932153b3ec46e38ecaecb
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=21b04f590feb7dbd9e5932153b3ec46e38ecaecb

Author: Anders Darander <anders at chargestorm.se>
Date:   Wed Apr 11 06:17:01 2012 +0000

sqlite: cp instead of mv in do_configure

The use of mv in do_configure() made bitbake error out if a second run
of do_configure was requested. Copy the file instead.

Signed-off-by: Anders Darander <anders at chargestorm.se>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb b/meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb
index b8e03c4..733bb9e 100644
--- a/meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb
+++ b/meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb
@@ -22,7 +22,7 @@ inherit autotools pkgconfig
 do_configure() {
     echo "main.mk is patched, no need to configure"
     # make pkgconfig.bbclass pick this up
-    mv ${WORKDIR}/sqlite.pc ${S}
+    cp ${WORKDIR}/sqlite.pc ${S}
 }
 
 do_compile() {





More information about the Openembedded-commits mailing list