mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-06 12:23:55 +00:00
removed erroneous single quotes around $? in build script to allow subshell expansion
This commit is contained in:
1 parent
a2675fd4ec
commit
842deaea16
1 file changed
+1
-1
@@ -480,7 +480,7 @@ if [[ "$@" == "build" ]] || [[ "$@" == "all" ]]; then
|
||||
|
||||
echo "Using following command: mvn $extra -DargLine=\"$APP_PARAMETERS\" -fae -s $MAVEN_SETTINGS $clean install"
|
||||
echo "Maven version used: `mvn --version`"
|
||||
(mvn $extra -DargLine="$APP_PARAMETERS" -fae -s $MAVEN_SETTINGS $clean install; echo 'MVN_EXIT_CODE=$?') 2>&1 | tee $START_DIR/build.log
|
||||
(mvn $extra -DargLine="$APP_PARAMETERS" -fae -s $MAVEN_SETTINGS $clean install; echo MVN_EXIT_CODE=$?) 2>&1 | tee $START_DIR/build.log
|
||||
eval `grep MVN_EXIT_CODE= $START_DIR/build.log`
|
||||
echo "Maven exit code is $MVN_EXIT_CODE"
|
||||
|
||||
|
||||
Reference in new issue
Block a user