diff options
author | Piotr Strzelczyk <piotr@eps.gda.pl> | 2009-05-11 16:40:16 +0000 |
---|---|---|
committer | Piotr Strzelczyk <piotr@eps.gda.pl> | 2009-05-11 16:40:16 +0000 |
commit | 33baef98437e76c0c01a65ccc2eae789b6d11969 (patch) | |
tree | b090ae02c9d20b65378585ea583e98b646fe6615 /Master/install-tl.bat | |
parent | 6de27e9b713edc74f7b60e13d2abfc7430dc7939 (diff) |
simpler DOS detection; modified start-up of tl-portable shell
git-svn-id: svn://tug.org/texlive/branches/branch2009-dev@13045 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl.bat')
-rwxr-xr-x | Master/install-tl.bat | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Master/install-tl.bat b/Master/install-tl.bat index 068e3250db8..c743e17ca8b 100755 --- a/Master/install-tl.bat +++ b/Master/install-tl.bat @@ -5,10 +5,8 @@ rem Copyright 2009 by Tomasz M. Trzeciak rem Public Domain
rem First, check if this is DOS based system
-rem in DOS '&' is just a normal character
-echo.>nul & goto continue
-goto DOS
-:continue
+rem in DOS '^' is just a normal character
+if not ^x==x goto DOS
rem Now check for Windows NT which is also not supported
ver | find "NT"
@@ -58,7 +56,7 @@ rem The manifest file tells Vista otherwise. :UNC
echo Cannot run from UNC path.
echo Map network drive to a drive letter and rerun the installer.
-echo Use pushd/popd commands for temporary mapping.
+echo You can use pushd/popd commands for temporary mapping.
pause
exit /b 1
|