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

Commitf8d732a

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

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
@@ -835,9 +835,9 @@ endif # enable_nls
835835

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

842842
##########################################################################
843843
#

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp