diff options
Diffstat (limited to 'scripts/build-unix.sh')
-rwxr-xr-x | scripts/build-unix.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-unix.sh b/scripts/build-unix.sh index 07f9f2f81..4fbc78413 100755 --- a/scripts/build-unix.sh +++ b/scripts/build-unix.sh | |||
@@ -102,7 +102,7 @@ fi | |||
102 | 102 | ||
103 | # Check pnpm version | 103 | # Check pnpm version |
104 | EXPECTED_PNPM_VERSION=$(jq --raw-output .engines.pnpm ./recipes/package.json) | 104 | EXPECTED_PNPM_VERSION=$(jq --raw-output .engines.pnpm ./recipes/package.json) |
105 | ACTUAL_PNPM_VERSION=$(pnpm --version) | 105 | ACTUAL_PNPM_VERSION=$(pnpm --version || true) # in case the pnpm executable itself is not present |
106 | if [[ "$ACTUAL_PNPM_VERSION" != "$EXPECTED_PNPM_VERSION" ]]; then | 106 | if [[ "$ACTUAL_PNPM_VERSION" != "$EXPECTED_PNPM_VERSION" ]]; then |
107 | npm i -gf pnpm@$EXPECTED_PNPM_VERSION | 107 | npm i -gf pnpm@$EXPECTED_PNPM_VERSION |
108 | fi | 108 | fi |