Skip to content

Commit c64c94a

Browse files
committed
Change test condition from -e to -r to make it work with solaris /bin/sh
1 parent d4b1835 commit c64c94a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Makefile.global.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -836,9 +836,9 @@ endif # enable_nls
836836

837837
.PHONY: $(top_builddir)/src/include/commit_id.h
838838
$(top_builddir)/src/include/commit_id.h:
839-
-[ -e $(top_srcdir)/src/include/commit_id.h ] && cp $(top_srcdir)/src/include/commit_id.h $@
839+
-[ -r $(top_srcdir)/src/include/commit_id.h ] && cp $(top_srcdir)/src/include/commit_id.h $@
840840
-[ -d $(top_srcdir)/.git ] && git log -1 --format='#define COMMIT_ID "%h"' > $@.tmp && mv $@.tmp $@
841-
[ -e $@ ] || echo '#define COMMIT_ID "00000000"' >$@
841+
[ -r $@ ] || echo '#define COMMIT_ID "00000000"' >$@
842842

843843
##########################################################################
844844
#

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy