Revision: 41605
http://brlcad.svn.sourceforge.net/brlcad/?rev=41605&view=rev
Author: bob1961
Date: 2010-12-14 21:33:18 +0000 (Tue, 14 Dec 2010)
Log Message:
-----------
Remove the need to set CAD_VERSION and BRLCAD_DATA in rtwizard.bat. As part of
this, copy rtwizard.tcl, a sh/tcl script, to the bin directory.
Modified Paths:
--------------
brlcad/trunk/misc/win32-msvc8/tclsh/library/installTree.tcl
brlcad/trunk/src/tclscripts/rtwizard/rtwizard.bat
Modified: brlcad/trunk/misc/win32-msvc8/tclsh/library/installTree.tcl
===================================================================
--- brlcad/trunk/misc/win32-msvc8/tclsh/library/installTree.tcl 2010-12-14
21:00:45 UTC (rev 41604)
+++ brlcad/trunk/misc/win32-msvc8/tclsh/library/installTree.tcl 2010-12-14
21:33:18 UTC (rev 41605)
@@ -191,6 +191,7 @@
copy_stuff [file join $rootDir src archer archer] [file join $installDir bin]
copy_stuff [file join $rootDir src mged mged.bat] [file join $installDir bin]
copy_stuff [file join $rootDir src tclscripts rtwizard rtwizard.bat] [file
join $installDir bin]
+ copy_stuff [file join $rootDir src tclscripts rtwizard rtwizard.tcl] [file
join $installDir bin]
}
Modified: brlcad/trunk/src/tclscripts/rtwizard/rtwizard.bat
===================================================================
--- brlcad/trunk/src/tclscripts/rtwizard/rtwizard.bat 2010-12-14 21:00:45 UTC
(rev 41604)
+++ brlcad/trunk/src/tclscripts/rtwizard/rtwizard.bat 2010-12-14 21:33:18 UTC
(rev 41605)
@@ -22,17 +22,11 @@
SETLOCAL
-REM XXX FIXME: SHOULD NOT NEED TO SET BRLCAD_DATA OR CAD_VERSION XXX
-SET CAD_VERSION=7.18.1
+SET BWISH=%~dp0bwish
+SET RTWIZARD=%~dp0rtwizard.tcl
-SET SAVE_CD=%CD%
-SET PATH=%~dp0
-CD %PATH%\..
-SET
RTWIZARD=%CD%\share\brlcad\%CAD_VERSION%\tclscripts\rtwizard\RaytraceWizard.tcl
-CD %SAVE_CD%
+START /B %BWISH% "%RTWIZARD%" %1
-START /B bwish "%RTWIZARD%" %1
-
CLS
EXIT
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits