[INTERPRETER]
* BUG: Detection of svn commit version now works with older version of subversion. git-svn-id: svn://localhost/gambas/trunk@8064 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
93207f480a
commit
cf6eb94ebd
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ CLEANFILES = trunk_version.h
|
|||
.PHONY: trunk_version.h
|
||||
trunk_version.h:
|
||||
@if test -d ../.svn ; then \
|
||||
if test ../.svn/wc.db -nt trunk_version.h ; then \
|
||||
if test ../.svn/wc.db -nt trunk_version.h || test ../.svn/entries -nt trunk_version.h; then \
|
||||
echo '#define TRUNK_VERSION "'`LC_ALL=C svn info 2>/dev/null | grep Revision | egrep -wo [0-9]+`'"' > trunk_version.h; \
|
||||
fi \
|
||||
else \
|
||||
|
|
Loading…
Reference in a new issue