Skip to contentSkip to conversation

cacao-initial-native: fix rebuild with uncleaned workdir breaks accidently

PATCH In review Jens Rehsack 2 participants 2 messages Oct 15, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 cacao-initial-native: fix rebuild with uncleaned workdir breaks accidently

When cacao-initial-native is rebuilt because of changed dependency, executable name in wrapper script is accidently changed twice into "cacao-initial-inital". This is prevented now.

---
 recipes-core/cacao/cacao-initial-native_0.98.bb | 2 +-
 recipes-core/classpath/classpath.inc            | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
recipes-core/cacao/cacao-initial-native_0.98.bb +1 -1
index 72c6246..fed9c49 100644
@@ -35,7 +35,7 @@ export JAR="fastjar"
 
 do_configure_append() {
   # Fix the executable name in the wrapper script.
-  sed -i -e "s|exec cacao|exec cacao-initial|" src/scripts/java.in
+  sed -i -e 's|exec cacao \$|exec cacao-initial \$|' src/scripts/java.in
 }
 
 SRC_URI[md5sum] = "8b8907c8b925761c9410bcadb9705346"
recipes-core/classpath/classpath.inc +0 -1
index 1bdfd78..6b3f158 100644
@@ -55,7 +55,6 @@ EXTRA_OECONF += "\
 do_configure_prepend () {
   cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath ${S}
 }
-	
 
 do_install() {
 	autotools_do_install
Signature · 4 lines
2.3.8 (Apple Git-58)

-- 
Jens Rehsack - [email protected]
#1 lore raw
Quoted 6 lines · Jens Rehsack

When cacao-initial-native is rebuilt because of changed dependency, executable name in wrapper script is accidently changed twice into "cacao-initial-inital". This is prevented now.

A patch fixing this very same issue has been applied in meta-java; please drop this one for next patchset revision.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750