build scripts should use exit not return
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
d455444c66
commit
b55c6eb511
@ -7,11 +7,11 @@ ORIGINAL_LOC=$(pwd)
|
||||
cd $OUT_DIR
|
||||
if java ${CUSTOM_PARAMS} -cp .:../lib/bin/ -XX:+UseZGC -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@"; then
|
||||
${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh
|
||||
return
|
||||
exit
|
||||
fi
|
||||
if java ${CUSTOM_PARAMS} -cp .:../lib/bin/ -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@"; then
|
||||
${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh
|
||||
return
|
||||
exit
|
||||
fi
|
||||
java ${CUSTOM_PARAMS} -cp .:../lib/bin/ -XX:+PrintCommandLineFlags -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@"
|
||||
${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh
|
||||
@ -7,11 +7,11 @@ ORIGINAL_LOC=$(pwd)
|
||||
cd $OUT_DIR
|
||||
if java ${CUSTOM_PARAMS} -cp ".;../lib/bin/" -XX:+UseZGC "-Djava.library.path=${LIBRARY_PATH}" ${MAIN_CLASS} "$@"; then
|
||||
${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh
|
||||
return
|
||||
exit
|
||||
fi
|
||||
if java ${CUSTOM_PARAMS} -cp ".;../lib/bin/" -XX:+UnlockExperimentalVMOptions -XX:+UseZGC "-Djava.library.path=${LIBRARY_PATH}" ${MAIN_CLASS} "$@"; then
|
||||
${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh
|
||||
return
|
||||
exit
|
||||
fi
|
||||
java ${CUSTOM_PARAMS} -cp ".;../lib/bin/" -XX:+PrintCommandLineFlags "-Djava.library.path=${LIBRARY_PATH}" ${MAIN_CLASS} "$@"
|
||||
${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh
|
||||
@ -1,5 +1,5 @@
|
||||
build2.sh:cf159b0f2193ff280c455a7547126073 -
|
||||
build.sh:5a48a79ccbb92272c26bc461833586dd -
|
||||
build2.sh:b1c6b7c6b2eb19ba54be6824bda8805b -
|
||||
build.sh:5df470d49036bf7565493739aeebeaa8 -
|
||||
clean.sh:668a2f9b568c55f6a044a509315032f6 -
|
||||
commit.sh:5e4448db9ad48e72ec3a1ff4f5763b41 -
|
||||
jar2.sh:7977fc138ee5db798d08c34734f0be93 -
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user