We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c35ffc8 commit f8d732aCopy full SHA for f8d732a
src/Makefile.global.in
@@ -835,9 +835,9 @@ endif # enable_nls
835
836
.PHONY: $(top_builddir)/src/include/commit_id.h
837
$(top_builddir)/src/include/commit_id.h:
838
- -[ -e $(top_srcdir)/src/include/commit_id.h ] && cp $(top_srcdir)/src/include/commit_id.h $@
+ -[ -r $(top_srcdir)/src/include/commit_id.h ] && cp $(top_srcdir)/src/include/commit_id.h $@
839
-[ -d $(top_srcdir)/.git ] && git log -1 --format='#define COMMIT_ID "%h"' > $@.tmp && mv $@.tmp $@
840
- [ -e $@ ] || echo '#define COMMIT_ID "00000000"' >$@
+ [ -r $@ ] || echo '#define COMMIT_ID "00000000"' >$@
841
842
##########################################################################
843
#
0 commit comments