Add GIT_CMD, similar to SVN_CMD.
Sponsored by: Rubicon Communications, LLC (netgate.com)
This commit is contained in:
parent
29b282f31d
commit
ff1031c1b7
@ -478,6 +478,14 @@ SVN_CMD= ${_P}/${_S}
|
||||
. endfor
|
||||
.export SVN_CMD
|
||||
.endif
|
||||
.if !defined(GIT_CMD) || empty(GIT_CMD)
|
||||
. for _P in /usr/bin /usr/local/bin
|
||||
. if exists(${_P}/git)
|
||||
GIT_CMD= ${_P}/git
|
||||
. endif
|
||||
. endfor
|
||||
.export GIT_CMD
|
||||
.endif
|
||||
SVNFLAGS?= -r HEAD
|
||||
.if !defined(VCS_REVISION) || empty(VCS_REVISION)
|
||||
.if !defined(SVNVERSION_CMD) || empty(SVNVERSION_CMD)
|
||||
|
Loading…
Reference in New Issue
Block a user