Skip to content

Commit

Permalink
Ignore error if sha1sum doesn't exist.
Browse files Browse the repository at this point in the history
GitHub's macOS runners don't seem to have the executable.
  • Loading branch information
NullHypothesis committed Nov 30, 2024
1 parent 01fda1a commit 4b95be8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ $(prog): $(godeps)
-ldflags="-s -w" \
-buildvcs=false \
-o $(prog)
@sha1sum "$(prog_dir)/$(prog)"
@-sha1sum "$(prog_dir)/$(prog)"

$(verify_prog): $(godeps)
@go build -C $(verify_prog_dir) -o $(verify_prog)
@sha1sum "$(verify_prog_dir)/$(verify_prog)"
@-sha1sum "$(verify_prog_dir)/$(verify_prog)"

.PHONY: clean
clean:
Expand Down

0 comments on commit 4b95be8

Please sign in to comment.