diff options
author | Siep Kroonenberg <siepo@cybercomm.nl> | 2008-10-11 07:57:21 +0000 |
---|---|---|
committer | Siep Kroonenberg <siepo@cybercomm.nl> | 2008-10-11 07:57:21 +0000 |
commit | e9d484bd6bb67fcef5128a43416e2ff7e958ffbe (patch) | |
tree | 6ace4f67f9971383569e9507a0b52870ff6d3258 /Master/tlpkg/doc | |
parent | af9f131a1516192b9129e2a15f2a14bc2aaff325 (diff) |
tnc_config.vbs: here, too, fixed version checking
git-svn-id: svn://tug.org/texlive/trunk@10925 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/doc')
-rw-r--r-- | Master/tlpkg/doc/tnc_config.vbs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/tlpkg/doc/tnc_config.vbs b/Master/tlpkg/doc/tnc_config.vbs index f6d366727c1..51f5784d671 100644 --- a/Master/tlpkg/doc/tnc_config.vbs +++ b/Master/tlpkg/doc/tnc_config.vbs @@ -57,7 +57,10 @@ Set oTmp = Wscript.Arguments bFirstConfig = (oTmp.count >= 1) sTL = "" -If wscript.version < 5.6 Then +s = Left (wscript.version, 3) +s = replace (s, ".", "") +i = CInt(s) +If i < 56 Then sTL = _ oFS.GetFolder(oFS.GetFile(Wscript.ScriptFullName).ParentFolder).ParentFolder Else |