|
@@ -56,7 +56,7 @@ showHelp() {
|
56
|
56
|
echo "-e, --extra <tag> Tag to add to final name to distinguish this build from a standard build"
|
57
|
57
|
echo "-k, --keep Keep the existing source tree when compiling"
|
58
|
58
|
echo " (don't svn update beforehand)"
|
59
|
|
- echo "-c --channel [channel] Channel to pass to ant (if not passed, 'NONE', if passed without a value, 'STABLE')"
|
|
59
|
+ echo " --channel [channel] Channel to pass to ant (if not passed, 'NONE', if passed without a value, 'STABLE')"
|
60
|
60
|
echo "---------------------"
|
61
|
61
|
exit 0;
|
62
|
62
|
}
|
|
@@ -130,7 +130,7 @@ while test -n "$1"; do
|
130
|
130
|
TAGGED=${TAGGED%%-*}
|
131
|
131
|
fi;
|
132
|
132
|
;;
|
133
|
|
- --channel|-c)
|
|
133
|
+ --channel)
|
134
|
134
|
shift
|
135
|
135
|
PASSEDPARAM=`echo "${1}" | grep ^-`
|
136
|
136
|
if [ "${PASSEDPARAM}" == "" ]; then
|
|
@@ -179,7 +179,8 @@ if [ "" = "${jarfile}" ]; then
|
179
|
179
|
svn update
|
180
|
180
|
fi;
|
181
|
181
|
fi
|
182
|
|
- ant -Dchannel=${CHANNEL} clean jar
|
|
182
|
+ echo ant -Dchannel=${CHANNEL} clean jar
|
|
183
|
+ exit 1;
|
183
|
184
|
if [ ! -e "dist/DMDirc.jar" ]; then
|
184
|
185
|
echo "There was an error creating the .jar file. Aborting."
|
185
|
186
|
exit 1;
|