diff --git a/src/install-sh-version.test.ts b/src/install-sh-version.test.ts index c2e627ed901..9f8a4d180e9 100644 --- a/src/install-sh-version.test.ts +++ b/src/install-sh-version.test.ts @@ -37,7 +37,7 @@ function resolveInstallerVersionCases(params: { const output = execFileSync( "bash", [ - "-lc", + "-c", `source "${installerPath}" >/dev/null 2>&1 for openclaw_bin in "\${@:3}"; do OPENCLAW_BIN="$openclaw_bin"