Skip to content

Commit

Permalink
Manually handle return code
Browse files Browse the repository at this point in the history
Signed-off-by: Sophia Guo <[email protected]>
  • Loading branch information
sophia-guo committed May 14, 2024
1 parent 84d467c commit 4670720
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tooling/reproducible/windows_repro_build_compare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,6 @@ Prepare_Env_For_Build() {
echo "Setting Variables"
export BOOTJDK_HOME=$WORK_DIR/jdk-${bootJDK}
echo "Parsing Make JDK Any Platform ARGS For Build"
echo "buildargs is $buildArgs"
# Split the string into an array of words
IFS=' ' read -ra words <<< "$buildArgs"

Expand Down Expand Up @@ -724,12 +723,15 @@ Compare_JDK() {
export PATH="$PATH:$CPW"

# Run Comparison Script
set +e
cd $ScriptPath || exit 1
./repro_compare.sh temurin $WORK_DIR/compare/src_jdk temurin $WORK_DIR/compare/tar_jdk CYGWIN 2>&1 &
pid=$!
wait $pid

rc=$?
set -e
cd $WORK_DIR
# Display The Content Of reprotest.diff
echo ""
echo "---------------------------------------------"
Expand Down

0 comments on commit 4670720

Please sign in to comment.