[Xfce4-commits] [xfce/xfce4-session] 05/05: xflock4: Do not override PATH with hardcoded value.

noreply at xfce.org noreply at xfce.org
Wed May 8 19:06:35 CEST 2019


This is an automated email from the git hooks/post-receive script.

s   k   u   n   n   y   k       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-session.

commit fd46109d056237410cad6901272c86f6d55a293c
Author: David Thompson <dthompson2 at worcester.edu>
Date:   Wed May 8 17:05:13 2019 +0200

    xflock4: Do not override PATH with hardcoded value.
    
    - The PATH "/bin:/usr/bin" may not be a valid search path on the user's
    machine.  The screen locking program may be in /usr/local/bin or
    elsewhere.  Distros that do not conform to the FHS, such as GuixSD and
    NixOS, will not have their executables in either location.  Thus, we
    simply leave PATH alone.
    - OpenBSD and FreeBSD also patch xflock4 to add their own PATH...
    - Fix bug #12282
---
 scripts/xflock4 | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/scripts/xflock4 b/scripts/xflock4
index 525e6e2..7ebb423 100644
--- a/scripts/xflock4
+++ b/scripts/xflock4
@@ -21,9 +21,6 @@
 #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 #
 
-PATH=/bin:/usr/bin
-export PATH
-
 # First test for the command set in the session's xfconf channel
 LOCK_CMD=$(xfconf-query -c xfce4-session -p /general/LockCommand)
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list