Re: [patch] new_build.git - avoid failing on 'rm' of nonexistent file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



on Sat, 8 Jan 2011 03:23
in the Usenet newsgroup gmane.linux.drivers.video-input-infrastructure
Jarod Wilson wrote:

> On Jan 7, 2011, at 6:53 AM, Vincent McIntyre wrote:
> 
>> While attempting to build recently I have found the 'make distclean'
>> target fails if 'rm' tries to remove a file that is not there. The
>> attached patch fixes the issue for me (by using rm -f).
>> I converted all the other 'rm' calls to 'rm -f' along the way.
>> 
>> Please consider applying this.
> 
> Yeah, I did the same earlier for another target, I'll go ahead and 
get
> it applied and pushed.

Third attempt to post to this news group...  

The --force option stops complaints about non existent files 
AND removes read only files.  If that is what you want, then fine.  
If you are only trying to stop existence problems, test for 
existence before removing.  

-- 
Peter D.  
Sig goes here...  

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux