Revision: 5454 http://ipcop.svn.sourceforge.net/ipcop/?rev=5454&view=rev Author: gespinasse Date: 2011-02-16 06:57:56 +0000 (Wed, 16 Feb 2011)
Log Message: ----------- Replace my hack with 'xargs rm -rf foo' when I didn't know --no-run-if-empty exist for xargs Modified Paths: -------------- ipcop/trunk/lfs/strip Modified: ipcop/trunk/lfs/strip =================================================================== --- ipcop/trunk/lfs/strip 2011-02-15 22:09:31 UTC (rev 5453) +++ ipcop/trunk/lfs/strip 2011-02-16 06:57:56 UTC (rev 5454) @@ -77,8 +77,7 @@ # Remove unneeded perl files (test directories and files, .pod, ChangeLog and name variations) # avoid the error message that -exec rm -r would produce for each t directory - # and add -f foo to handle the case where t directory is already removed (and rm would receive no arg) - -find /${TOOLS_DIR}/lib/perl5 -name t | xargs rm -rf foo + -find /${TOOLS_DIR}/lib/perl5 -name t | xargs --no-run-if-empty rm -rf -find /${TOOLS_DIR}/lib/perl5 -name *.t -delete -find /${TOOLS_DIR}/lib/perl5 -name *.pod -delete -find /${TOOLS_DIR}/lib/perl5 -name Change* -delete 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