> Date: Mon, 10 Sep 2012 12:15:22 -0600 (MDT)
> From: Jon Trulson <[email protected]>
> Subject: Re: [cdesktopenv-devel] [PATCH] BSD: Add /usr/local/bin to
>       the default PATH on login
> To: Marcin Cieslak <[email protected]>
> Cc: [email protected]
> On Mon, 10 Sep 2012, Marcin Cieslak wrote:
> 
> Applied.
> -- 
> Jon Trulson

Ahem! The FHS requires /usr/local/bin on Linux also.
Though it might be better to exploit /etc/profile...

Thanks,
Isaac Dunham
diff --git a/cde/programs/dtlogin/config/Xconfig.src b/cde/programs/dtlogin/config/Xconfig.src
index 16cbe4b..cd6f8b4 100644
--- a/cde/programs/dtlogin/config/Xconfig.src
+++ b/cde/programs/dtlogin/config/Xconfig.src
@@ -135,9 +135,7 @@ XCOMM  To specify a default user PATH environment variable.
 XCOMM
 XCOMM  Dtlogin*userPath:          <path>
 
-#if defined(linux)
-Dtlogin*userPath:          /bin:/usr/bin:/sbin:/usr/sbin:/usr/dt/bin
-#elif defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED)
 Dtlogin*userPath:          /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/dt/bin
 #endif
 
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
cdesktopenv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to