Skip to content

Commit d560d52

Browse files
committed
Append
1 parent b3fdc2b commit d560d52

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

eng/build.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,11 @@ InitializeToolset
392392

393393
restore=$_tmp_restore=
394394

395+
if [ ${#commandline_args[@]} -gt 0 ]; then
396+
# Append array1 to array2
397+
toolset_build_args+=("${commandline_args[@]}")
398+
fi
399+
395400
if [ "$build_repo_tasks" = true ]; then
396401
MSBuild $_InitializeToolset \
397402
-p:RepoRoot="$repo_root" \
@@ -400,8 +405,7 @@ if [ "$build_repo_tasks" = true ]; then
400405
-p:Restore=$run_restore \
401406
-p:Build=true \
402407
-clp:NoSummary \
403-
${toolset_build_args[@]+"${toolset_build_args[@]}"} \
404-
${commandline_args[@]+"${commandline_args[@]}"}
408+
${toolset_build_args[@]+"${toolset_build_args[@]}"}
405409
fi
406410

407411
if [ "$only_build_repo_tasks" != true ]; then

0 commit comments

Comments
 (0)