Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2002 22:49:31 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Gregory Neil Shapiro <gshapiro@FreeBSD.ORG>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: someone broke sendmail or install
Message-ID:  <20020606224931.B19711@troutmask.apl.washington.edu>
In-Reply-To: <15616.18197.377203.13176@horsey.gshapiro.net>; from gshapiro@FreeBSD.ORG on Thu, Jun 06, 2002 at 10:39:33PM -0700
References:  <20020606214947.A19343@troutmask.apl.washington.edu> <15616.18197.377203.13176@horsey.gshapiro.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 06, 2002 at 10:39:33PM -0700, Gregory Neil Shapiro wrote:
> sgk> install -C -o root -g wheel -m 755 -d /usr/share/sendmail/cf
> 
> Did you override $INSTALL in /etc/make.conf?
> 

INSTALL is set to "install -C" in /etc/make.conf as
documented in make.conf(5) and share/examples/etc/defaults/make.conf.

> sgk> It seems ru@freebsd.org forgot to place an entry
> sgk> in src/UPDATING that he purposely broke world.
> 
> I'm curious what Makefile's are supposed to use if not ${INSTALL}.

Well, I personally believe that if install's -d option is
mutually exclusive of -bCcpSs, then install should reset
things instead of issue an error.

--- xinstall.c.orig     Thu Jun  6 22:45:29 2002
+++ xinstall.c  Thu Jun  6 22:46:39 2002
@@ -173,8 +173,11 @@
        argv += optind;
 
        /* some options make no sense when creating directories */
-       if ((safecopy || docompare || dostrip) && dodir)
-               usage();
+       if (dodir) {
+               safecopy = 0;
+               docompare = 0;
+               dostrip = 0;
+       }
 
        /* must have at least two arguments, except when creating directories */
        if (argc < 2 && !dodir)

-- 
Steve

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




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