@@ -8,7 +8,7 @@ LIBERTY_URL="https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasd
88
99if [ " ${1} " == " glassfish-bundled" ]; then
1010
11- curl -s -o glassfish5.zip " ${GLASSFISH_URL} "
11+ curl -L - s -o glassfish5.zip " ${GLASSFISH_URL} "
1212 unzip -q glassfish5.zip
1313 mvn -B -V -Pbundled clean install
1414 find ./examples/ -name \* .war -exec cp {} ./glassfish5/glassfish/domains/domain1/autodeploy/ \;
@@ -19,7 +19,7 @@ if [ "${1}" == "glassfish-bundled" ]; then
1919
2020elif [ " ${1} " == " glassfish-module" ]; then
2121
22- curl -s -o glassfish5.zip " ${GLASSFISH_URL} "
22+ curl -L - s -o glassfish5.zip " ${GLASSFISH_URL} "
2323 unzip -q glassfish5.zip
2424 mvn -B -V -P\! bundled,module clean install
2525 cp core/target/ozark-core-* .jar ./glassfish5/glassfish/modules/
@@ -33,7 +33,7 @@ elif [ "${1}" == "glassfish-module" ]; then
3333
3434elif [ " ${1} " == " tck-glassfish" ]; then
3535
36- curl -s -o glassfish5.zip " ${GLASSFISH_URL} "
36+ curl -L - s -o glassfish5.zip " ${GLASSFISH_URL} "
3737 unzip -q glassfish5.zip
3838 mvn -B -V -DskipTests clean install
3939 glassfish5/bin/asadmin start-domain
@@ -45,7 +45,7 @@ elif [ "${1}" == "tck-glassfish" ]; then
4545
4646elif [ " ${1} " == " tck-wildfly" ]; then
4747
48- curl -s -o wildfly.tgz " ${WILDFLY_URL} "
48+ curl -L - s -o wildfly.tgz " ${WILDFLY_URL} "
4949 tar -xzf wildfly.tgz
5050 mvn -B -V -DskipTests clean install
5151 LAUNCH_JBOSS_IN_BACKGROUND=1 JBOSS_PIDFILE=wildfly.pid ./wildfly-14.0.0.Final/bin/standalone.sh > wildfly.log 2>&1 &
@@ -64,7 +64,7 @@ elif [ "${1}" == "tck-tomee" ]; then
6464
6565elif [ " ${1} " == " tck-liberty" ]; then
6666
67- curl -s -o wlp.zip " ${LIBERTY_URL} "
67+ curl -L - s -o wlp.zip " ${LIBERTY_URL} "
6868 unzip wlp.zip
6969 cp .travis/wlp-server-template.xml wlp/templates/servers/defaultServer/server.xml
7070 LIBERTY_HOME=" $( cd ./wlp/ && pwd ) "
0 commit comments