diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-11-12 18:06:20 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-11-12 17:42:14 +0000 |
commit | ed22f13e7ead1b1ed2fd9dde51a479b9cfaf67aa (patch) | |
tree | e8b53e68924e34450acec4ce4fdff818774b404d /source3/m4/samba_version.m4 | |
parent | 9ebb55d1cb1280a5b8a4d82ec35568c034898e41 (diff) | |
download | samba-ed22f13e7ead1b1ed2fd9dde51a479b9cfaf67aa.tar.gz samba-ed22f13e7ead1b1ed2fd9dde51a479b9cfaf67aa.tar.bz2 samba-ed22f13e7ead1b1ed2fd9dde51a479b9cfaf67aa.zip |
s3: Rename GIT_COMMIT_{TIME,DATE} to COMMIT_{TIME,DATE}.
This avoids some special casing in the waf code.
Diffstat (limited to 'source3/m4/samba_version.m4')
-rw-r--r-- | source3/m4/samba_version.m4 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/m4/samba_version.m4 b/source3/m4/samba_version.m4 index 4d749e9bb9..dbea1f3b3a 100644 --- a/source3/m4/samba_version.m4 +++ b/source3/m4/samba_version.m4 @@ -15,15 +15,15 @@ SAMBA_VERSION_GIT_COMMIT_FULLREV=`cat $srcdir/include/version.h | grep 'SAMBA_VE if test -n "${SAMBA_VERSION_GIT_COMMIT_FULLREV}";then echo "BUILD COMMIT REVISION: ${SAMBA_VERSION_GIT_COMMIT_FULLREV}" fi -SAMBA_VERSION_GIT_COMMIT_DATE=`cat $srcdir/include/version.h | grep 'SAMBA_VERSION_GIT_COMMIT_DATE' | cut -d ' ' -f3-` -if test -n "${SAMBA_VERSION_GIT_COMMIT_DATE}";then - echo "BUILD COMMIT DATE: ${SAMBA_VERSION_GIT_COMMIT_DATE}" +SAMBA_VERSION_COMMIT_DATE=`cat $srcdir/include/version.h | grep 'SAMBA_VERSION_COMMIT_DATE' | cut -d ' ' -f3-` +if test -n "${SAMBA_VERSION_COMMIT_DATE}";then + echo "BUILD COMMIT DATE: ${SAMBA_VERSION_COMMIT_DATE}" fi -SAMBA_VERSION_GIT_COMMIT_TIME=`cat $srcdir/include/version.h | grep 'SAMBA_VERSION_GIT_COMMIT_TIME' | cut -d ' ' -f3-` -if test -n "${SAMBA_VERSION_GIT_COMMIT_TIME}";then - echo "BUILD COMMIT TIME: ${SAMBA_VERSION_GIT_COMMIT_TIME}" +SAMBA_VERSION_COMMIT_TIME=`cat $srcdir/include/version.h | grep 'SAMBA_VERSION_COMMIT_TIME' | cut -d ' ' -f3-` +if test -n "${SAMBA_VERSION_COMMIT_TIME}";then + echo "BUILD COMMIT TIME: ${SAMBA_VERSION_COMMIT_TIME}" # just to keep the build-farm gui happy for now... - echo "BUILD REVISION: ${SAMBA_VERSION_GIT_COMMIT_TIME}" + echo "BUILD REVISION: ${SAMBA_VERSION_COMMIT_TIME}" fi |