diff options
author | Gerald Carter <jerry@samba.org> | 2006-01-30 13:32:41 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:06:19 -0500 |
commit | 485f0370942880a71095da5096e414b28193b150 (patch) | |
tree | c9e7665edb4ceded6e7d78767f90768a8234d475 /source/script/mkversion.sh | |
parent | c068df483f44a23ad813acd10d583be863128382 (diff) | |
download | samba-485f0370942880a71095da5096e414b28193b150.tar.gz samba-485f0370942880a71095da5096e414b28193b150.tar.xz samba-485f0370942880a71095da5096e414b28193b150.zip |
r13229: * fix bad comparison caught by the AIX compiler in wbinfo code
* update output from mkversion.sh to include the SAMBA_VENDOR_PATCH
Diffstat (limited to 'source/script/mkversion.sh')
-rwxr-xr-x | source/script/mkversion.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/script/mkversion.sh b/source/script/mkversion.sh index 1ba7cd63699..57840549213 100755 --- a/source/script/mkversion.sh +++ b/source/script/mkversion.sh @@ -102,7 +102,12 @@ echo "#define SAMBA_VERSION_STRING samba_version_string()" >> $OUTPUT_FILE echo "$0: 'include/version.h' created for Samba(\"${SAMBA_VERSION_STRING}\")" if test -n "${SAMBA_VERSION_VENDOR_SUFFIX}";then - echo "$0: with VENDOR_SUFFIX = ${SAMBA_VERSION_VENDOR_SUFFIX}" + echo -n "$0: with VENDOR_SUFFIX = \"" + echo -n ${SAMBA_VERSION_VENDOR_SUFFIX} | sed 's/"//g' + if test -n ${SAMBA_VENDOR_PATCH}; then + echo -n "-${SAMBA_VENDOR_PATCH}" + fi + echo "\"" fi exit 0 |