Skip to content

Conversation

@kytta
Copy link
Contributor

@kytta kytta commented Jun 19, 2025

When running the installation script in a POSIX-compliant shell without bashisms (like dash on Alpine Linux), the shell reports an error:

sh: 130: [: linux: unexpected operator

The issue lies in the == operator, which only exists in Bash, ksh, and some other shells, but is not valid POSIX. This PR fixes the issue by using =.

See also https://www.shellcheck.net/wiki/SC3014

@codecov-commenter
Copy link

codecov-commenter commented Jun 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.58%. Comparing base (c1a1ab7) to head (b8c7fa2).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #713   +/-   ##
=======================================
  Coverage   87.58%   87.58%           
=======================================
  Files         241      241           
  Lines       13956    13956           
=======================================
  Hits        12224    12224           
  Misses       1311     1311           
  Partials      421      421           
Flag Coverage Δ
unittests 87.58% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@reuvenharrison reuvenharrison merged commit ab901ac into oasdiff:main Jun 26, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants