mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r25419: fix generation of git revision calculation
metze
(This used to be commit 7f70d5e7b9
)
This commit is contained in:
parent
cabc0955d9
commit
34da75652d
@ -111,7 +111,7 @@ if test x"${SAMBA_VERSION_IS_SVN_SNAPSHOT}" = x"yes";then
|
||||
if test x"${HAVEVER}" != x"yes" -a -d "${SOURCE_DIR}../.git";then
|
||||
HAVEGIT=no
|
||||
GIT_INFO=`git show --abbrev-commit HEAD 2>/dev/null`
|
||||
TMP_REVISION=`echo -e "${GIT_INFO}" | grep 'commit ' | sed 1q |sed -e 's/commit \([0-9a-f]*\).*/\1/'`
|
||||
TMP_REVISION=`echo -e "${GIT_INFO}" | sed 1q | grep 'commit ' | sed -e 's/commit \([0-9a-f]*\).*/\1/'`
|
||||
if test -n "$TMP_REVISION";then
|
||||
HAVEGIT=yes
|
||||
HAVEVER=yes
|
||||
|
Loading…
Reference in New Issue
Block a user