diff options
author | hobbs <hobbs@noemail.net> | 2007-10-15 01:05:26 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2007-10-15 01:05:26 (GMT) |
commit | 13474f85882b4dcc86541afb607bb83117146d03 (patch) | |
tree | 47c06f053f937b1a114fc583cba5b948f7a8d08d /win/configure | |
parent | 154d2547342e511ca924714fa54a9eb38ba5ee0e (diff) | |
download | tk-13474f85882b4dcc86541afb607bb83117146d03.zip tk-13474f85882b4dcc86541afb607bb83117146d03.tar.gz tk-13474f85882b4dcc86541afb607bb83117146d03.tar.bz2 |
* win/configure, win/configure.in (TK_WIN_VERSION): Make sure the
patchlevel doesn't contain extra dotted pairs (eg. interim release)
FossilOrigin-Name: 68b6074b2c87cb43ca3a4b8566121c5a772e47e6
Diffstat (limited to 'win/configure')
-rwxr-xr-x | win/configure | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/win/configure b/win/configure index 8af0d01..f1f75d9 100755 --- a/win/configure +++ b/win/configure @@ -4069,9 +4069,11 @@ fi # The wish.exe.manifest requires these # TK_WIN_VERSION is the 4 dotted pair Windows version format +# Make sure the patch level doesn't contain extra dotted pairs (interim rel) +AB_PATCH_LEVEL="`echo $TK_PATCH_LEVEL | sed -e 's/\..*//'`" case "$TK_PATCH_LEVEL" in - a*) TK_WIN_VERSION="$TK_VERSION.0.`echo $TK_PATCH_LEVEL | tr -d a`" ;; - b*) TK_WIN_VERSION="$TK_VERSION.1.`echo $TK_PATCH_LEVEL | tr -d b`" ;; + a*) TK_WIN_VERSION="$TK_VERSION.0.`echo $AB_PATCH_LEVEL | tr -d a`" ;; + b*) TK_WIN_VERSION="$TK_VERSION.1.`echo $AB_PATCH_LEVEL | tr -d b`" ;; .*) TK_WIN_VERSION="$TK_VERSION.2$TK_PATCH_LEVEL" ;; esac |