mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
r6920: display the SVN revision in svk build of tree's directly mirrored from samba.org
metze (This used to be commit 7feddfb5d28784ff4f7dd13075c53923d4df6330)
This commit is contained in:
parent
df1bac4442
commit
928d749143
@ -54,7 +54,12 @@ if test x"${SAMBA_VERSION_IS_SVN_SNAPSHOT}" = x"yes";then
|
||||
if test x"${HAVESVN}" = x"no";then
|
||||
HAVESVK=no
|
||||
svk info ${SOURCE_DIR} >/dev/null 2>&1 && HAVESVK=yes
|
||||
TMP_SVK_REVISION_STR="${TMP_REVISION}-${USER}@${HOSTNAME}"
|
||||
TMP_MIRRORED_REVISION=`(svk info ${SOURCE_DIR} 2>/dev/null) |grep 'Mirrored From:.*samba\.org.*' |sed -e 's/Mirrored From: .* Rev\..* \([0-9]*\).*/\1/'`
|
||||
if test -n "$TMP_MIRRORED_REVISION"; then
|
||||
TMP_SVK_REVISION_STR="${TMP_REVISION}-${USER}@${HOSTNAME}-[SVN-${TMP_MIRRORED_REVISION}]"
|
||||
else
|
||||
TMP_SVK_REVISION_STR="${TMP_REVISION}-${USER}@${HOSTNAME}"
|
||||
fi
|
||||
fi
|
||||
|
||||
if test x"${HAVESVN}" = x"yes";then
|
||||
|
Loading…
x
Reference in New Issue
Block a user