Skip to content

Commit 80b0e17

Browse files
authored
Revert gen-buildsys.sh cmake command echo (#112929)
Suspect it broke the wasi official build somehow.
1 parent b5936a9 commit 80b0e17

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

eng/native/gen-buildsys.sh

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,15 @@ if [[ "$host_arch" == "wasm" ]]; then
106106
fi
107107
fi
108108

109-
buildsys_command="$cmake_command --no-warn-unused-cli -G \"$generator\" \"-DCMAKE_BUILD_TYPE=$buildtype\" \"-DCMAKE_INSTALL_PREFIX=$__CMakeBinDir\" $cmake_extra_defines $__UnprocessedCMakeArgs \"${cmake_extra_defines_wasm[@]}\" -S \"$1\" -B \"$2\""
110-
buildsys_command=$(echo $buildsys_command | sed 's/""//g')
111-
echo $buildsys_command
112-
eval $buildsys_command
109+
$cmake_command \
110+
--no-warn-unused-cli \
111+
-G "$generator" \
112+
"-DCMAKE_BUILD_TYPE=$buildtype" \
113+
"-DCMAKE_INSTALL_PREFIX=$__CMakeBinDir" \
114+
$cmake_extra_defines \
115+
$__UnprocessedCMakeArgs \
116+
"${cmake_extra_defines_wasm[@]}" \
117+
-S "$1" \
118+
-B "$2"
113119

114120
# don't add anything after this line so the cmake exit code gets propagated correctly

0 commit comments

Comments
 (0)