summaryrefslogtreecommitdiffstats
path: root/recipes-core/junit
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-10-26 00:25:01 -0700
committerKhem Raj <raj.khem@gmail.com>2012-11-27 09:28:54 -0800
commita56246f3f69d60541b276ca91e15c3bc24bb79e2 (patch)
tree5bd67c81b8687fb8d7ceced67a0bec047a7ae4e8 /recipes-core/junit
parent6503766d83584f9a067d1dd6c85f4d4f8adf651b (diff)
downloadmeta-java-a56246f3f69d60541b276ca91e15c3bc24bb79e2.tar.gz
libecj-bootstrap,junit: Tweak to fix rebuild issues
When rebuilding in already built tree we have these issues where a file is already deleted first time but rm fails on reexecution. This patch adds checks for such cases so that rebuilds are guarnteed Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-core/junit')
-rw-r--r--recipes-core/junit/junit_3.8.2.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes-core/junit/junit_3.8.2.bb b/recipes-core/junit/junit_3.8.2.bb
index 9d56618..ded03f2 100644
--- a/recipes-core/junit/junit_3.8.2.bb
+++ b/recipes-core/junit/junit_3.8.2.bb
@@ -14,8 +14,9 @@ do_unpackpost() {
14 mkdir -p src 14 mkdir -p src
15 15
16 # Prevent deletion by do_removebinaries. 16 # Prevent deletion by do_removebinaries.
17 mv src.jar src.zip 17 if [ -e src.jar ]; then
18 18 mv src.jar src.zip
19 fi
19 unzip src.zip -d src 20 unzip src.zip -d src
20} 21}
21 22