Skip to content

Commit

Permalink
pre-create version file
Browse files Browse the repository at this point in the history
Hope to fix this on CI:

/bin/sh: 1: echo: echo: I/O error
  • Loading branch information
stsp committed Mar 24, 2024
1 parent f875478 commit 3add463
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ clean:

.PHONY: force
version: force
test -f "$@" || touch "$@"
echo '"$(REVISIONID)"' | cmp -s - "$@" || echo '"$(REVISIONID)"' > "$@"

version.o: version
Expand Down

0 comments on commit 3add463

Please sign in to comment.