Re: [DOC-WEB] cvs: functable / Makefile

[email protected] (mazzanet)
Newsgroups php.doc.web
Message-ID <[email protected]>
Using `rm -rf -- output/*` may be slightly cleaner. *shrugs*
(the -- by the way tells rm to stop looking for options, from `man rm`)


Hartmut Holzgraefe wrote:
> hholzgra		Sun Aug 28 13:50:25 2005 EDT
> 
>   Modified files:              
>     /functable	Makefile 
>   Log:
>   prevent "rm: Argument list too long" error
>   
>   
> http://cvs.php.net/diff.php/functable/Makefile?r1=1.3&r2=1.4&ty=u
> Index: functable/Makefile
> diff -u functable/Makefile:1.3 functable/Makefile:1.4
> --- functable/Makefile:1.3	Fri Jul 19 19:50:36 2002
> +++ functable/Makefile	Sun Aug 28 13:50:22 2005
> @@ -13,7 +13,7 @@
>  	
>  
>  clean:	
> -	rm -rf output/*
> +	rm -rf output/ && mkdir output
>  	rm -f sources/*.txt
>  	rm -f logfile
>  	rm -f *~
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.