diff options
author | Silenio Quarti <silenio> | 2011-07-18 12:35:15 -0400 |
---|---|---|
committer | Silenio Quarti <silenio> | 2011-07-18 12:35:15 -0400 |
commit | 26a80a439e005f3fb47099fde40a1e14733c8d82 (patch) | |
tree | fc674349839266d27d82f6b98e91e8b2e6ef85f3 | |
parent | 9ec6416fd1387a8112a2458d0f3c1359ea485352 (diff) | |
download | eclipse.platform.swt-26a80a439e005f3fb47099fde40a1e14733c8d82.tar.gz eclipse.platform.swt-26a80a439e005f3fb47099fde40a1e14733c8d82.tar.xz eclipse.platform.swt-26a80a439e005f3fb47099fde40a1e14733c8d82.zip |
changing pull dir
-rw-r--r-- | bundles/org.eclipse.swt/buildNatives.xml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/bundles/org.eclipse.swt/buildNatives.xml b/bundles/org.eclipse.swt/buildNatives.xml index b314cea763..e5c7d20935 100644 --- a/bundles/org.eclipse.swt/buildNatives.xml +++ b/bundles/org.eclipse.swt/buildNatives.xml @@ -953,14 +953,14 @@ <target name="check_repo">
<condition property="${repo.exists}">
- <available file="${TAG}/${repo}" type="dir"/>
+ <available file="../${TAG}/${repo}" type="dir"/>
</condition>
</target>
<target name="init_repo" depends="check_repo" unless="${repo.exists}" >
- <delete dir="${TAG}/${repo}" quiet="true"/>
- <mkdir dir="${TAG}"/>
- <exec dir="${TAG}" executable="git" failonerror="true">
+ <delete dir="../${TAG}/${repo}" quiet="true"/>
+ <mkdir dir="../${TAG}"/>
+ <exec dir="../${TAG}" executable="git" failonerror="true">
<arg line="clone ${gitroot}/${repo}"/>
</exec>
<condition property="perform.checkout">
@@ -973,7 +973,7 @@ <target name="checkout_repo" if="perform.checkout">
<echo>Checking out ${repo}=${TAG}</echo>
- <exec dir="${TAG}/${repo}" executable="git" failonerror="true">
+ <exec dir="../${TAG}/${repo}" executable="git" failonerror="true">
<arg line="checkout -b ${TAG} origin/${TAG}"/>
</exec>
</target>
@@ -983,21 +983,21 @@ <param name="repo" value="${src.repo}"/>
<param name="repo.exists" value="src.repo.exists"/>
</antcall>
- <exec dir="${TAG}/${src.repo}" executable="git" failonerror="true">
+ <exec dir="../${TAG}/${src.repo}" executable="git" failonerror="true">
<arg line="pull"/>
</exec>
<antcall target="init_repo">
<param name="repo" value="${bin.repo}"/>
<param name="repo.exists" value="bin.repo.exists"/>
</antcall>
- <exec dir="${TAG}/${bin.repo}" executable="git" failonerror="true">
+ <exec dir="../${TAG}/${bin.repo}" executable="git" failonerror="true">
<arg line="pull"/>
</exec>
<!--antcall target="init_repo">
<param name="repo" value="${releng.repo}"/>
<param name="repo.exists" value="releng.repo.exists"/>
</antcall>
- <exec dir="${TAG}/${releng.repo}" executable="git" failonerror="true">
+ <exec dir="../${TAG}/${releng.repo}" executable="git" failonerror="true">
<arg line="pull"/>
</exec-->
</target>
@@ -1007,21 +1007,21 @@ <param name="repo" value="${src.repo}"/>
<param name="repo.exists" value="src.repo.exists"/>
</antcall>
- <exec dir="${TAG}/${src.repo}" executable="git" failonerror="true">
+ <exec dir="../${TAG}/${src.repo}" executable="git" failonerror="true">
<arg line="push"/>
</exec>
<antcall target="init_repo">
<param name="repo" value="${bin.repo}"/>
<param name="repo.exists" value="bin.repo.exists"/>
</antcall>
- <exec dir="${TAG}/${bin.repo}" executable="git" failonerror="true">
+ <exec dir="../${TAG}/${bin.repo}" executable="git" failonerror="true">
<arg line="push"/>
</exec>
<!--antcall target="init_repo">
<param name="repo" value="${releng.repo}"/>
<param name="repo.exists" value="releng.repo.exists"/>
</antcall>
- <exec dir="${TAG}/${releng.repo}" executable="git" failonerror="true">
+ <exec dir="../${TAG}/${releng.repo}" executable="git" failonerror="true">
<arg line="push"/>
</exec-->
</target>
|