Re: Remove absolute symlink in $MAKEOBJDIR

From: Marcel Moolenaar <marcel_at_xcllnt.net>
Date: Sun, 1 Jun 2003 22:54:59 -0700
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
> _at__at_ -73,7 +73,7 _at__at_
>  .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_at_xcllnt.net
Received on Sun Jun 01 2003 - 20:55:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:10 UTC