Revision: 5453 http://ipcop.svn.sourceforge.net/ipcop/?rev=5453&view=rev Author: gespinasse Date: 2011-02-15 22:09:31 +0000 (Tue, 15 Feb 2011)
Log Message: ----------- Clean log using -print | xargs -rf that work better to remove .svn than -exec rm -rf {} \; This remove the .svn': No such file or directory messages Modified Paths: -------------- ipcop/trunk/lfs/ipcop-gui ipcop/trunk/lfs/logrotate ipcop/trunk/lfs/stage2 ipcop/trunk/lfs/wanpipe Modified: ipcop/trunk/lfs/ipcop-gui =================================================================== --- ipcop/trunk/lfs/ipcop-gui 2011-02-15 19:14:20 UTC (rev 5452) +++ ipcop/trunk/lfs/ipcop-gui 2011-02-15 22:09:31 UTC (rev 5453) @@ -62,7 +62,7 @@ mkdir -p /home/httpd # Copy all html/cgi-bin files cp -aR $(DIR_SRC)/html/* /home/httpd - -find /home/httpd -name .svn -exec rm -rf {} \; + find /home/httpd -name .svn -print | xargs --no-run-if-empty rm -rf # Additional directories for RRD graphs and Squid graphs mkdir -p /home/httpd/html/graphs Modified: ipcop/trunk/lfs/logrotate =================================================================== --- ipcop/trunk/lfs/logrotate 2011-02-15 19:14:20 UTC (rev 5452) +++ ipcop/trunk/lfs/logrotate 2011-02-15 22:09:31 UTC (rev 5453) @@ -87,7 +87,7 @@ touch /var/lib/logrotate.status cp -fR $(DIR_SRC)/config/logrotate/* /etc - -find /etc/logrotate.d -name .svn -exec rm -rf {} \; + find /etc/logrotate.d -name .svn -print | xargs --no-run-if-empty rm -rf # HDD logrotate will be default ln -sf /etc/logrotate.conf.HDD /etc/logrotate.conf Modified: ipcop/trunk/lfs/stage2 =================================================================== --- ipcop/trunk/lfs/stage2 2011-02-15 19:14:20 UTC (rev 5452) +++ ipcop/trunk/lfs/stage2 2011-02-15 22:09:31 UTC (rev 5453) @@ -100,7 +100,7 @@ # Config files cp -fR $(DIR_SRC)/config/etc/* /etc - -find /etc -name .svn -exec rm -rf {} \; + find /etc -name .svn -print | xargs --no-run-if-empty rm -rf chown -R 0:0 /etc chmod -R 644 /etc find /etc -type d -exec chmod 755 {} \; Modified: ipcop/trunk/lfs/wanpipe =================================================================== --- ipcop/trunk/lfs/wanpipe 2011-02-15 19:14:20 UTC (rev 5452) +++ ipcop/trunk/lfs/wanpipe 2011-02-15 22:09:31 UTC (rev 5453) @@ -88,7 +88,7 @@ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) # Source archive contains some .svn directories, remove that - -find $(DIR_APP) -name .svn -exec rm -rf {} \; + find $(DIR_APP) -name .svn -print | xargs --no-run-if-empty rm -rf rm -fr /lib/modules/$(KVER)/kernel/drivers/net/wan/* rm -fr /lib/modules/$(KVER)/kernel/net/wanrouter/* This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn