Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2001 10:38:49 +0700 (NOVST)
From:      nnd@mail.nsk.ru
To:        cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.sbin/pkg_install/add main.c
Message-ID:  <200104260338.f3Q3cnc89317@wint.itfs.nsk.su>
In-Reply-To: <200104251911.f3PJBAv31212@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <200104251911.f3PJBAv31212@freefall.freebsd.org>
"David E. O'Brien" <obrien@FreeBSD.ORG> wrote:
> 
>  Modified files:
>    usr.sbin/pkg_install/add main.c 
>  Log:
>  Add /usr/X11R6/bin to the exported PATH.  If /usr/local/bin is there,
>  /usr/X11R6/bin should be there.  This helps all the ports that need to
>  run `mkfontdir' and error out as many port maintainers do not realize
>  `mkfontdir' isn't in the path.
>  
>  Prompted by:  pkg_add pcemu
>  
>  Revision  Changes    Path
>  1.34      +11 -5     src/usr.sbin/pkg_install/add/main.c

	There is syntax error in this file after that commit.
The next patch corrects it.

	N.Dudorov

Index: usr.sbin/pkg_install/add/main.c
===================================================================
RCS file: /scratch/CVS/src/usr.sbin/pkg_install/add/main.c,v
retrieving revision 1.34
diff -b -u -r1.34 main.c
--- usr.sbin/pkg_install/add/main.c	2001/04/25 19:11:09	1.34
+++ usr.sbin/pkg_install/add/main.c	2001/04/26 03:29:51
@@ -164,7 +164,7 @@
     }
     /* Make sure the sub-execs we invoke get found */
     setenv("PATH", "/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"
-	1);
+	,1);
 
     /* Set a reasonable umask */
     umask(022);

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104260338.f3Q3cnc89317>