aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2012-10-18 11:01:10 (EDT)
committerBogdan Gheorghe2012-10-18 12:26:11 (EDT)
commite5ad328ca46878f518164a86b5708fe82ff0a69f (patch)
tree8e289313fb0356f550119cb794ca56730934b8bd
parent424a396d56adcad17eafe10fba71d9100f113ab7 (diff)
downloadeclipse.platform.swt-e5ad328ca46878f518164a86b5708fe82ff0a69f.zip
eclipse.platform.swt-e5ad328ca46878f518164a86b5708fe82ff0a69f.tar.gz
eclipse.platform.swt-e5ad328ca46878f518164a86b5708fe82ff0a69f.tar.bz2
Bug 392214 - UnsatisfiedLinkError on Kepler
-rw-r--r--bundles/org.eclipse.swt/buildSWT.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/buildSWT.xml b/bundles/org.eclipse.swt/buildSWT.xml
index 7c0921d..e006fd5 100644
--- a/bundles/org.eclipse.swt/buildSWT.xml
+++ b/bundles/org.eclipse.swt/buildSWT.xml
@@ -411,7 +411,10 @@
<arg line="diff ${SHA1}"/>
</exec>
<condition property="source_changed">
- <length string="${diffs}" trim="true" when="greater" length="0"/>
+ <or>
+ <length string="${SHA1}" trim="true" when="equal" length="0"/>
+ <length string="${diffs}" trim="true" when="greater" length="0"/>
+ </or>
</condition>
<echo>Has source changes: ${source_changed}, compared against:</echo>
<exec dir="${repo.src}" executable="git" failonerror="true">
@@ -773,7 +776,10 @@
<!-- Check for changes -->
<exec dir="${repo.src}" executable="git" failonerror="true" outputproperty="diffs">
- <arg line="diff ${SHA1} ${library_src}"/>
+ <or>
+ <length string="${SHA1}" trim="true" when="equal" length="0"/>
+ <length string="${diffs}" trim="true" when="greater" length="0"/>
+ </or>
</exec>
<condition property="natives_changed">
<length string="${diffs}" trim="true" when="greater" length="0"/>