Re: [Paco-general] pacoball: symbol links to absent files/catalogs must be archived too
Brought to you by:
davidrr
|
From: Sergei B. <se...@bs...> - 2007-09-08 05:07:05
|
Hi, On Friday 07 September 2007, David Rosal wrote: > Hi Dan. > > 2007/9/7, Dan Nicholson <dbn...@gm...>: > > I don't really know perl, but it looks like both patches have a > > problem. The script was changed from > > > > ( -e $_ ) > > > > to > > > > ( -l $_ || -e _ ) > > > > Shouldn't it still be -e $_? > > Yes. The patch has a typo. But it has been fixed in SVN. The patch is right. '_' in '-e _' signifies "use cached result of previous command '-l $_' for test '-e'". ( -l $_ || -e $_ ) - two calls to file system to the same file ( -l $_ || -e _ ) - one call to file system - two times quicker than previous clause! -- Sergei Butakov |