Revision: 42423
          http://brlcad.svn.sourceforge.net/brlcad/?rev=42423&view=rev
Author:   starseeker
Date:     2011-01-18 22:28:56 +0000 (Tue, 18 Jan 2011)

Log Message:
-----------
shouldn't need brlcadDataPath variable here.

Modified Paths:
--------------
    brlcad/branches/cmake/src/archer/plugins/Utility/botUtilityP.tcl

Modified: brlcad/branches/cmake/src/archer/plugins/Utility/botUtilityP.tcl
===================================================================
--- brlcad/branches/cmake/src/archer/plugins/Utility/botUtilityP.tcl    
2011-01-18 22:15:39 UTC (rev 42422)
+++ brlcad/branches/cmake/src/archer/plugins/Utility/botUtilityP.tcl    
2011-01-18 22:28:56 UTC (rev 42423)
@@ -23,13 +23,10 @@
 #       This is a script for loading/registering the bot editor utility.
 #
 
-set brlcadDataPath [bu_brlcad_data "plugins"]
-# puts "pwd is [pwd], path is $brlcadDataPath"
-set filename [file join $brlcadDataPath archer Utility botUtilityP 
BotUtilityP.tcl]
+set filename [file join [bu_brlcad_data "plugins"] archer Utility botUtilityP 
BotUtilityP.tcl]
 if { ![file exists $filename] } {
     # non-tclscript resource, look in the source invocation path
-    set brlcadDataPath [bu_brlcad_data "src"]
-    set filename [file join $brlcadDataPath archer plugins Utility botUtilityP 
BotUtilityP.tcl]
+    set filename [file join [bu_brlcad_data "src"] archer plugins Utility 
botUtilityP BotUtilityP.tcl]
 }
 if { ![file exists $filename] } {
     puts "Could not load the BotUtilityP plugin, skipping $filename"


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

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to