diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-03-09 15:59:07 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-03-09 15:59:07 (GMT) |
commit | 69ddcaa16e000f55028b3df7e01bcda7cd11d5e7 (patch) | |
tree | 47922e724b0e60eadf309cdf51b2c7fbc4371917 /generic/tclBasic.c | |
parent | c2480e69a5cb24601c36b41ef4d47cf59b0159b7 (diff) | |
download | tcl-69ddcaa16e000f55028b3df7e01bcda7cd11d5e7.zip tcl-69ddcaa16e000f55028b3df7e01bcda7cd11d5e7.tar.gz tcl-69ddcaa16e000f55028b3df7e01bcda7cd11d5e7.tar.bz2 |
Let Tcl 8.7 allow Tk 8.7 to be used by default
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r-- | generic/tclBasic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index e5d7406..3f5c113 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -580,7 +580,7 @@ Tcl_CreateInterp(void) iPtr->packageUnknown = NULL; /* TIP #268 */ - if (getenv("TCL_PKG_PREFER_LATEST") == NULL) { + if ((TCL_RELEASE_LEVEL == TCL_FINAL_RELEASE) && getenv("TCL_PKG_PREFER_LATEST") == NULL) { iPtr->packagePrefer = PKG_PREFER_STABLE; } else { iPtr->packagePrefer = PKG_PREFER_LATEST; |