Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 9897793

Browse files
committed
Make build.sh compatible with MacOS bash
1 parent 55b80bf commit 9897793

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ build(){
2727

2828
# Darwin builds do not work from Linux, so only try to build them from Darwin.
2929
# See: https://github.com/cdr/coder-cli/issues/20
30-
if [[ "$(uname)" -eq "Darwin" ]]; then
30+
if [[ "$(uname)" == "Darwin" ]]; then
3131
GOOS=linux build
3232
CGO_ENABLED=1 GOOS=darwin build
3333
exit 0

0 commit comments

Comments
 (0)