Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc64c94a

Browse files
committed
Change test condition from -e to -r to make it work with solaris /bin/sh
1 parentd4b1835 commitc64c94a

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)

[8]ページ先頭

©2009-2025 Movatter.jp