Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
Signed-off-by: Sophia Guo <[email protected]>
  • Loading branch information
sophia-guo committed Apr 30, 2024
1 parent 2b82147 commit b74a873
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tooling/reproducible/windows_repro_build_compare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ Prepare_Env_For_Build() {
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 @@ -583,7 +584,7 @@ Prepare_Env_For_Build() {
done

# Add the last parameter to the array
params+=("$param = $value")
params+=("$param=$value")

# Read the separated parameters and values into a new array
export fixed_param=""
Expand All @@ -595,6 +596,7 @@ Prepare_Env_For_Build() {
IGNORED_ARRAY=()

for p in "${params[@]}"; do
echo "p is $p"
IFS='=' read -ra parts <<< "$p"
prefixed_param=${parts[0]}
fixed_param="${prefixed_param%%[[:space:]]}"
Expand Down Expand Up @@ -646,6 +648,7 @@ Prepare_Env_For_Build() {
else
# Not A Config Param Nor Should Be Ignored, So Add To Build Array
STRINGTOADD="$fixed_param $fixed_value"
echo "stringGOTOadd is $STRINGTOADD"
BUILD_ARRAY+=("$STRINGTOADD")
fi
done
Expand Down

0 comments on commit b74a873

Please sign in to comment.