summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/testing/itest
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-07-21 20:44:48 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-07-21 20:44:48 +0000
commit89d67f43f0fa022e3f044af5bab427c3227b22bb (patch)
tree326189241a32802bd0da3b467905f55c137b0b5d /sca-java-2.x/trunk/testing/itest
parentf26e643208eaf69dff3a6f1eb3c04dcd8190171c (diff)
Update to ensure the src distro isn't ever used in error over the binat distro
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1149354 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java b/sca-java-2.x/trunk/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java
index 5ee67ff3ff..865eec3636 100644
--- a/sca-java-2.x/trunk/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java
+++ b/sca-java-2.x/trunk/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java
@@ -130,7 +130,7 @@ public class JarsInLICENSETestCase {
File distroTarget = new File("../../../../distribution/all/target");
File root = null;
for (String f : distroTarget.list()) {
- if (f.endsWith(".dir")) {
+ if (f.endsWith(".dir") && !f.endsWith("src.dir")) {
root = new File(distroTarget, f);
break;
}