summaryrefslogtreecommitdiff
path: root/Master/tlpkg/doc/tnc_config.vbs
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/doc/tnc_config.vbs')
-rw-r--r--Master/tlpkg/doc/tnc_config.vbs5
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