diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-04-29 21:03:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:51:22 -0500 |
commit | 65d9febf9a60be05f64598909679998b5734ac16 (patch) | |
tree | 06cc10936007f7cdce2152833a64f44b4966706a /source3/script | |
parent | 9b4e6c7ea6f9be7b7a29a9a467c7131342caa6b1 (diff) | |
download | samba-65d9febf9a60be05f64598909679998b5734ac16.tar.gz samba-65d9febf9a60be05f64598909679998b5734ac16.tar.bz2 samba-65d9febf9a60be05f64598909679998b5734ac16.zip |
r413: merge from 4_0:
as we decide to not do 3.0.2a releases anymore,
remove the generation stuff from VERSION and mkversion.sh
metze
(This used to be commit 25cbca89baa89327384e80ad5f71577c3db6d6a2)
Diffstat (limited to 'source3/script')
-rwxr-xr-x | source3/script/mkversion.sh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source3/script/mkversion.sh b/source3/script/mkversion.sh index f66e1cc1ac..917a9ed1ae 100755 --- a/source3/script/mkversion.sh +++ b/source3/script/mkversion.sh @@ -18,8 +18,6 @@ SAMBA_VERSION_MAJOR=`sed -n 's/^SAMBA_VERSION_MAJOR=//p' $SOURCE_DIR$VERSION_FIL SAMBA_VERSION_MINOR=`sed -n 's/^SAMBA_VERSION_MINOR=//p' $SOURCE_DIR$VERSION_FILE` SAMBA_VERSION_RELEASE=`sed -n 's/^SAMBA_VERSION_RELEASE=//p' $SOURCE_DIR$VERSION_FILE` -SAMBA_VERSION_REVISION=`sed -n 's/^SAMBA_VERSION_REVISION=//p' $SOURCE_DIR$VERSION_FILE` - SAMBA_VERSION_PRE_RELEASE=`sed -n 's/^SAMBA_VERSION_PRE_RELEASE=//p' $SOURCE_DIR$VERSION_FILE` SAMBA_VERSION_RC_RELEASE=`sed -n 's/^SAMBA_VERSION_RC_RELEASE=//p' $SOURCE_DIR$VERSION_FILE` @@ -38,10 +36,7 @@ echo "#define SAMBA_VERSION_RELEASE ${SAMBA_VERSION_RELEASE}" >> $OUTPUT_FILE SAMBA_VERSION_STRING="${SAMBA_VERSION_MAJOR}.${SAMBA_VERSION_MINOR}.${SAMBA_VERSION_RELEASE}" -if test -n "${SAMBA_VERSION_REVISION}";then - SAMBA_VERSION_STRING="${SAMBA_VERSION_STRING}${SAMBA_VERSION_REVISION}" - echo "#define SAMBA_VERSION_REVISION \"${SAMBA_VERSION_REVISION}\"" >> $OUTPUT_FILE -elif test -n "${SAMBA_VERSION_PRE_RELEASE}";then +if test -n "${SAMBA_VERSION_PRE_RELEASE}";then SAMBA_VERSION_STRING="${SAMBA_VERSION_STRING}pre${SAMBA_VERSION_PRE_RELEASE}" echo "#define SAMBA_VERSION_PRE_RELEASE ${SAMBA_VERSION_PRE_RELEASE}" >> $OUTPUT_FILE elif test -n "${SAMBA_VERSION_RC_RELEASE}";then |