Revision: 41285
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41285&view=rev
Author:   starseeker
Date:     2010-11-08 21:06:41 +0000 (Mon, 08 Nov 2010)

Log Message:
-----------
Add Tcl_FindExecutable - this may fix the problems with finding init.tcl for 
btclsh.

Modified Paths:
--------------
    brlcad/branches/cmake/src/bwish/main.c

Modified: brlcad/branches/cmake/src/bwish/main.c
===================================================================
--- brlcad/branches/cmake/src/bwish/main.c      2010-11-08 19:14:26 UTC (rev 
41284)
+++ brlcad/branches/cmake/src/bwish/main.c      2010-11-08 21:06:41 UTC (rev 
41285)
@@ -218,6 +218,7 @@
 {
     /* Create the interpreter */
     INTERP = Tcl_CreateInterp();
+    Tcl_FindExecutable(argv[0]);
     Cad_Main(argc, argv, Cad_AppInit, INTERP);
 
     return 0;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to