Skip to content

Commit c2eecf7

Browse files
committed
Preserve multi-argument native build profiles
Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>
1 parent caaee3c commit c2eecf7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

bin/build-native.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ case "${napi_major}" in
3131
;;
3232
esac
3333

34+
read -r -a build_profile <<< "${BUILD_PROFILE:---release}"
35+
3436
cd "${napi_dir}"
35-
"${cli[@]}" build --platform "${BUILD_PROFILE:---release}"
37+
"${cli[@]}" build --platform "${build_profile[@]}"
3638
cp index.* "${driver_repo}/native/kernel/"

0 commit comments

Comments
 (0)