Skip to content

Commit 29448b1

Browse files
committed
fix: add quotes around nproc command in build_abi function for improved safety
1 parent 9e713bc commit 29448b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ build_abi() {
3636
../..
3737

3838
echo "[*] Building..."
39-
cmake --build . -j$(nproc 2>/dev/null || echo 4)
39+
cmake --build . -j"$(nproc 2>/dev/null || echo 4)"
4040

4141
# Create bin directory structure instead of libs
4242
mkdir -p "../../bin/$ABI"

0 commit comments

Comments
 (0)