Revision: 56008
http://sourceforge.net/p/brlcad/code/56008
Author: starseeker
Date: 2013-07-11 19:37:08 +0000 (Thu, 11 Jul 2013)
Log Message:
-----------
Get archer launching from the mged C executable again.
Modified Paths:
--------------
brlcad/trunk/src/archer/archer
Modified: brlcad/trunk/src/archer/archer
===================================================================
--- brlcad/trunk/src/archer/archer 2013-07-11 19:09:53 UTC (rev 56007)
+++ brlcad/trunk/src/archer/archer 2013-07-11 19:37:08 UTC (rev 56008)
@@ -58,6 +58,13 @@
#\
exec "$WISH" "$0" "$@"
+# If we're not launching in the sh script mode (i.e. we're
+# launching via the mged command) argv0 doesn't seem to be
+# populated - try info nameofexecutable
+if {! [info exists argv0] } {
+ set argv0 [info nameofexecutable]
+}
+
# If we're running from a build directory but an installed BRL-CAD
# already exists in the configured install path, all tcl scripts
# will be pulled from the installed location and not the local
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits