Skip to content

Commit 825a16d

Browse files
Qardclaude
andcommitted
Fix shell compatibility issue in CI Docker build
Replace bash-specific [[ ]] with POSIX-compatible [ ] for Docker sh compatibility. The error 'sh: 68: [[: not found' was preventing the WASM build from executing. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent cefee40 commit 825a16d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146
${{ matrix.settings.build }}
147147
148148
# Build the WASI module for Linux targets
149-
if [[ "${{ matrix.settings.target }}" == "x86_64-unknown-linux-gnu" ]]; then
149+
if [ "${{ matrix.settings.target }}" = "x86_64-unknown-linux-gnu" ]; then
150150
echo "===== Building fix-python-soname WASI module ====="
151151
rustup target add wasm32-wasip1
152152
echo "===== Entering fix-python-soname directory ====="

0 commit comments

Comments
 (0)