diff options
author | Caspar De Groot | 2011-05-18 05:42:35 +0000 |
---|---|---|
committer | Caspar De Groot | 2011-05-18 05:42:35 +0000 |
commit | 5b28ffead0fa7a8d8666ea8746d556fd83cfb5a3 (patch) | |
tree | e9516b3ef43d6c24bea09c370dc2a199c5b52925 | |
parent | f52d1b619bc9a3910ac543d689390968ad2ca004 (diff) | |
download | cdo-5b28ffead0fa7a8d8666ea8746d556fd83cfb5a3.tar.gz cdo-5b28ffead0fa7a8d8666ea8746d556fd83cfb5a3.tar.xz cdo-5b28ffead0fa7a8d8666ea8746d556fd83cfb5a3.zip |
Beautified promote script
-rw-r--r-- | releng/org.eclipse.emf.cdo.releng/hudson/promote-integration.sh | 8 |
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 cf8a099b23..931514adda 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&protocol=http&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
|