From owner-cvs-all Wed Apr 25 20:38:57 2001 Delivered-To: cvs-all@freebsd.org Received: from wint.itfs.nsk.su (wint.itfs.nsk.su [212.20.32.43]) by hub.freebsd.org (Postfix) with ESMTP id 1716337B423 for ; Wed, 25 Apr 2001 20:38:54 -0700 (PDT) (envelope-from nnd@wint.itfs.nsk.su) Received: (from nnd@localhost) by wint.itfs.nsk.su (8.11.3/8.11.3) id f3Q3cnc89317; Thu, 26 Apr 2001 10:38:49 +0700 (NOVST) (envelope-from nnd) Date: Thu, 26 Apr 2001 10:38:49 +0700 (NOVST) Message-Id: <200104260338.f3Q3cnc89317@wint.itfs.nsk.su> From: nnd@mail.nsk.ru To: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/pkg_install/add main.c In-Reply-To: <200104251911.f3PJBAv31212@freefall.freebsd.org> User-Agent: tin/1.5.9-20010328 ("Blue Water") (UNIX) (FreeBSD/5.0-CURRENT (i386)) Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <200104251911.f3PJBAv31212@freefall.freebsd.org> "David E. O'Brien" 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