Skip to content

Commit

Permalink
Makefile: make compare statement bash complient
Browse files Browse the repository at this point in the history
  • Loading branch information
dh1tw committed Apr 25, 2021
1 parent 9dd9630 commit 2374ee0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ dist:
# there is a know issue that upx currently doesn't work with darwin/arm64.
# See https://github.com/upx/upx/issues/424
# until it's resolved, we ship darwin/arm64 uncompressed.
if [ "${GOOS}" == "windows" ]; \
if [ "${GOOS}" = "windows" ]; \
then upx remoteRotator.exe; \
else \
if [ "${GOOS}" == "darwin" ] && [ "${GOARCH}" == "arm64" ]; \
else \
if [ "${GOOS}" = "darwin" ] && [ "${GOARCH}" = "arm64" ]; \
then true; \
else upx remoteRotator; \
fi \
Expand Down

0 comments on commit 2374ee0

Please sign in to comment.