Skip to content

Commit 3add463

Browse files
committed
pre-create version file
Hope to fix this on CI: /bin/sh: 1: echo: echo: I/O error
1 parent f875478 commit 3add463

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ clean:
5959

6060
.PHONY: force
6161
version: force
62+
test -f "$@" || touch "$@"
6263
echo '"$(REVISIONID)"' | cmp -s - "$@" || echo '"$(REVISIONID)"' > "$@"
6364

6465
version.o: version

0 commit comments

Comments
 (0)