diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-09-28 23:39:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:31:04 -0500 |
commit | 4802b2d6ca375723ecae12d6940efa6186520e79 (patch) | |
tree | 3e740467ad178bed1201ed7d35a3014becfb3a56 /source3 | |
parent | 6334c7cc5f686a6c13063190986914482f54784f (diff) | |
download | samba-4802b2d6ca375723ecae12d6940efa6186520e79.tar.gz samba-4802b2d6ca375723ecae12d6940efa6186520e79.tar.bz2 samba-4802b2d6ca375723ecae12d6940efa6186520e79.zip |
r25418: fix generation of git revision calculation
metze
(This used to be commit 43df4928ecd61ae071109abb1c72dfd1b78a5a5e)
Diffstat (limited to 'source3')
-rwxr-xr-x | source3/script/mkversion.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/script/mkversion.sh b/source3/script/mkversion.sh index 8155c45212..ac4064ea29 100755 --- a/source3/script/mkversion.sh +++ b/source3/script/mkversion.sh @@ -107,7 +107,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 |