summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaspar De Groot2011-05-18 01:42:35 (EDT)
committerCaspar De Groot2011-05-18 01:42:35 (EDT)
commit5b28ffead0fa7a8d8666ea8746d556fd83cfb5a3 (patch)
treee9516b3ef43d6c24bea09c370dc2a199c5b52925
parentf52d1b619bc9a3910ac543d689390968ad2ca004 (diff)
downloadcdo-5b28ffead0fa7a8d8666ea8746d556fd83cfb5a3.zip
cdo-5b28ffead0fa7a8d8666ea8746d556fd83cfb5a3.tar.gz
cdo-5b28ffead0fa7a8d8666ea8746d556fd83cfb5a3.tar.bz2
Beautified promote script
-rw-r--r--releng/org.eclipse.emf.cdo.releng/hudson/promote-integration.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/releng/org.eclipse.emf.cdo.releng/hudson/promote-integration.sh b/releng/org.eclipse.emf.cdo.releng/hudson/promote-integration.sh
index cf8a099..931514a 100644
--- a/releng/org.eclipse.emf.cdo.releng/hudson/promote-integration.sh
+++ b/releng/org.eclipse.emf.cdo.releng/hudson/promote-integration.sh
@@ -24,10 +24,12 @@ if [ -n "$PROBLEM_BUNDLES" ]; then
exit 2
fi
-for F in artifacts content; do
- /shared/common/jdk-1.5.0-22.x86_64/bin/jar xf $F.jar
+JAR=/shared/common/jdk-1.5.0-22.x86_64/bin/jar
+for F in artifacts content
+do
+ $JAR xf $F.jar
sed -i "/<property name='p2\.compressed'/a \ \ \ \ <property name='p2.mirrorsURL' value='http://www.eclipse.org/downloads/download.php?file=/modeling/emf/cdo/updates/$stream/$stream-$label&amp;protocol=http&amp;format=xml'/>'>" $F.xml
- /shared/common/jdk-1.5.0-22.x86_64/bin/jar cvf $F.jar $F.xml
+ $JAR cf $F.jar $F.xml
done
cp -R . /home/data/httpd/download.eclipse.org/modeling/emf/cdo/updates/$stream/$stream-$label