Date: Sun, 21 Mar 2010 01:07:40 GMT From: Garrett Cooper <gcooper@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/144918: [patch] [pkg_install] Remove reference to /usr/X11R6/bin in PATH Message-ID: <201003210107.o2L17e9A040776@www.freebsd.org> Resent-Message-ID: <201003210110.o2L1A0mL085300@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 144918 >Category: bin >Synopsis: [patch] [pkg_install] Remove reference to /usr/X11R6/bin in PATH >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 21 01:10:00 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: 9-CURRENT >Organization: Cisco Systems, Inc. >Environment: FreeBSD bayonetta.local 9.0-CURRENT FreeBSD 9.0-CURRENT #5 r205310: Sat Mar 20 01:32:51 PDT 2010 gcooper@bayonetta.local:/usr/obj/usr/src/sys/BAYONETTA amd64 >Description: /usr/X11R6 hasn't been in the base system with FreeBSD for quite a while now; yank the reference to it in $PATH which gets passed via pkg_add. >How-To-Repeat: >Fix: Patch attached with submission follows: ==== //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/usr.sbin/pkg_install/add/main.c#1 - /scratch/freebsd/perforce/pkg_install-enhancements/usr.sbin/pkg_install/add/main.c ==== @@ -279,7 +279,7 @@ } /* Make sure the sub-execs we invoke get found */ setenv("PATH", - "/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin", + "/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin", 1); /* Set a reasonable umask */ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003210107.o2L17e9A040776>