[rkward-cvs] SF.net SVN: rkward-code:[4833] trunk/rkward/rkward/rkward_startup_wrapper. cpp

tfry at users.sf.net tfry at users.sf.net
Thu Sep 18 13:33:38 UTC 2014


Revision: 4833
          http://sourceforge.net/p/rkward/code/4833
Author:   tfry
Date:     2014-09-18 13:33:37 +0000 (Thu, 18 Sep 2014)
Log Message:
-----------
Remove superflous quotes, when setting PATH on mac; add debug message.

Modified Paths:
--------------
    trunk/rkward/rkward/rkward_startup_wrapper.cpp

Modified: trunk/rkward/rkward/rkward_startup_wrapper.cpp
===================================================================
--- trunk/rkward/rkward/rkward_startup_wrapper.cpp	2014-09-17 14:14:51 UTC (rev 4832)
+++ trunk/rkward/rkward/rkward_startup_wrapper.cpp	2014-09-18 13:33:37 UTC (rev 4833)
@@ -129,7 +129,8 @@
 	QString oldpath = qgetenv ("PATH");
 	if (!oldpath.contains (INSTALL_PATH)) {
 		//ensure that PATH is set to include what we deliver with the bundle
-		qputenv ("PATH", QString ("\"%1/bin\":\"%1/sbin\":%2").arg (INSTALL_PATH).arg (oldpath).toLocal8Bit ());
+		qputenv ("PATH", QString ("%1/bin:%1/sbin:%2").arg (INSTALL_PATH).arg (oldpath).toLocal8Bit ());
+		if (debug_level > 3) qDebug ("Adjusting system path to %s", qPrintable (qgetenv ("PATH")));
 	}
 	// ensure that RKWard finds its own packages
 	qputenv ("R_LIBS", R_LIBS);





More information about the rkward-tracker mailing list