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 d4b1835 commit c64c94aCopy full SHA for c64c94a
src/Makefile.global.in
@@ -836,9 +836,9 @@ endif # enable_nls
836
837
.PHONY: $(top_builddir)/src/include/commit_id.h
838
$(top_builddir)/src/include/commit_id.h:
839
- -[ -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 $@
840
-[ -d $(top_srcdir)/.git ] && git log -1 --format='#define COMMIT_ID "%h"' > $@.tmp && mv $@.tmp $@
841
- [ -e $@ ] || echo '#define COMMIT_ID "00000000"' >$@
+ [ -r $@ ] || echo '#define COMMIT_ID "00000000"' >$@
842
843
##########################################################################
844
#
0 commit comments