diff options
author | davygrvy <davygrvy@pobox.com> | 2001-11-10 10:38:47 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@pobox.com> | 2001-11-10 10:38:47 (GMT) |
commit | 801283c38e66a43623f1b09a8c6baaf2a7277dab (patch) | |
tree | e17441a16f9fbafdfa202900eb474a3f5073d911 /win/mkd.bat | |
parent | 4801a4a703fd7faff54f4361646cd421880b8396 (diff) | |
download | tcl-801283c38e66a43623f1b09a8c6baaf2a7277dab.zip tcl-801283c38e66a43623f1b09a8c6baaf2a7277dab.tar.gz tcl-801283c38e66a43623f1b09a8c6baaf2a7277dab.tar.bz2 |
* win/makefile.vc: Added a check to make sure one runs the makefile
from the /win directory only.
* win/mkd.bat:
* win/rmd.bat: Changes from Llyod Lim for better stability.
[Patch #456759]
Diffstat (limited to 'win/mkd.bat')
-rw-r--r-- | win/mkd.bat | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/win/mkd.bat b/win/mkd.bat index 690a29b..70edd40 100644 --- a/win/mkd.bat +++ b/win/mkd.bat @@ -1,21 +1,12 @@ @echo off -rem RCS: @(#) $Id: mkd.bat,v 1.7 2001/09/08 23:52:02 davygrvy Exp $ +rem RCS: @(#) $Id: mkd.bat,v 1.8 2001/11/10 10:38:47 davygrvy Exp $ -if exist %1\. goto end +if exist %1\nul goto end -if "%OS%" == "Windows_NT" goto winnt - -md %1 -if errorlevel 1 goto end - -goto success - -:winnt md %1 if errorlevel 1 goto end -:success -echo created directory %1 +echo Created directory %1 :end |