MKD.BAT/RMD.BAT work off tag.txt
Closed / Fixed219007ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:09:14
OriginalBugID: 3874 Bug
Version: 8.2.2
SubmitDate: '1999-12-14'
LastModified: '1999-12-15'
Severity: LOW
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Windows NT
OSVersion: NT4.0 SP6
Machine: Intel P2 450
FixedDate: '1999-12-15'
FixedInVersion: 8.3b1
ClosedDate: '2000-10-25'
Name:
Steve Fulmer
CVS:
12/13/99 8:00 CST
Comments:
These files also are in the tk\win directory, and the same fix can be applied there.
ReproducibleScript:
Install on Windows using makefile.vc
ObservedBehavior:
When installing on Windows, the batch file MKD.BAT creates a file called TAG.TXT in any directory it creates. If using the "install" target of makefile.vc, a copy of TAG.TXT is in every installed directory. RMD.BAT also looks for this file.
DesiredBehavior:
No TAG.TXT file. The inclosed patch uses the directory entry ".", which always exists if the directory exists.
Patch:
Index: mkd.bat
===================================================================
RCS file: /cvsroot/tcl/win/mkd.bat,v
retrieving revision 1.4
diff -w -c -r1.4 mkd.bat
*** mkd.bat1998/09/30 20:19:351.4
--- mkd.bat1999/12/14 14:39:29
***************
*** 1,7 ****
@echo off
rem RCS: @(#) $Id: mkd.bat,v 1.4 1998/09/30 20:19:35 escoffon Exp $
! if exist %1\tag.txt goto end
if "%OS%" == "Windows_NT" goto winnt
--- 1,7 ----
@echo off
rem RCS: @(#) $Id: mkd.bat,v 1.4 1998/09/30 20:19:35 escoffon Exp $
! if exist %1\. goto end
if "%OS%" == "Windows_NT" goto winnt
***************
*** 15,21 ****
if errorlevel 1 goto end
:success
- echo TAG >%1\tag.txt
echo created directory %1
:end
--- 15,20 ----
Index: rmd.bat
===================================================================
RCS file: /cvsroot/tcl/win/rmd.bat,v
retrieving revision 1.4
diff -w -c -r1.4 rmd.bat
*** rmd.bat1998/09/30 20:19:461.4
--- rmd.bat1999/12/14 14:39:38
***************
*** 1,7 ****
@echo off
rem RCS: @(#) $Id: rmd.bat,v 1.4 1998/09/30 20:19:46 escoffon Exp $
! if not exist %1\tag.txt goto end
echo Removing directory %1
--- 1,7 ----
@echo off
rem RCS: @(#) $Id: rmd.bat,v 1.4 1998/09/30 20:19:46 escoffon Exp $
! if not exist %1\. goto end
echo Removing directory %1
PatchFiles:
tcl\win\mkd.bat
tcl\win\rmd.bat
These changes will be in 8.3b1.
-- 12/15/1999 hobbs
welch Closed ticket [219007ffff].
[History diff]2000-10-26 08:33:08
dgp Ticket [219007ffff]: 3 changes
[History diff]2001-04-19 04:45:42
Log in (anonymous is fine) to add a comment.