Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 2003 22:54:59 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Jun Kuriyama <kuriyama@imgsrc.co.jp>
Cc:        Current <freebsd-current@freebsd.org>
Subject:   Re: Remove absolute symlink in $MAKEOBJDIR
Message-ID:  <20030602055459.GA2455@athlon.pn.xcllnt.net>
In-Reply-To: <7mvfvpcb8s.wl@black.imgsrc.co.jp>
References:  <7mvfvpcb8s.wl@black.imgsrc.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 02, 2003 at 02:13:55PM +0900, Jun Kuriyama wrote:
> 
> Index: bin/csh/Makefile
> ===================================================================
> RCS file: /home/ncvs/src/bin/csh/Makefile,v
> retrieving revision 1.30
> diff -u -r1.30 Makefile
> --- bin/csh/Makefile	2 May 2003 06:39:13 -0000	1.30
> +++ bin/csh/Makefile	2 May 2003 15:01:02 -0000
> @@ -73,7 +73,7 @@
>  .endfor
>  
>  csh.1: tcsh.man
> -	ln -sf ${.ALLSRC} ${.TARGET}
> +	cp ${.ALLSRC} ${.TARGET}
>  
>  build-tools: gethost
>  

Please don't use cp(1). When source files are read-only, such as for
perforce trees, a buildworld -DNOCLEAN can fail because the copy in
the object directory will be read-only too. Use cat(1) or something
else that yields a copy that is writable.

Thanks,

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net



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