Revision: 70716
          http://sourceforge.net/p/brlcad/code/70716
Author:   starseeker
Date:     2018-02-16 19:22:44 +0000 (Fri, 16 Feb 2018)
Log Message:
-----------
Ah, that's right - we need to help bu_brlcad_root out explicitly.

Modified Paths:
--------------
    brlcad/trunk/src/nirt/main.cxx

Modified: brlcad/trunk/src/nirt/main.cxx
===================================================================
--- brlcad/trunk/src/nirt/main.cxx      2018-02-16 19:04:57 UTC (rev 70715)
+++ brlcad/trunk/src/nirt/main.cxx      2018-02-16 19:22:44 UTC (rev 70716)
@@ -550,6 +550,9 @@
 
     if (argc == 0 || !argv) return -1;
 
+    /* Let bu_brlcad_root and friends know where we are */
+    bu_setprogname(argv[0]);
+
     argv++; argc--;
     if ((ac = bu_opt_parse(&optparse_msg, argc, (const char **)argv, d)) == 
-1) {
                bu_exit(EXIT_FAILURE, bu_vls_addr(&optparse_msg));

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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to