[svn-commits] wdoekes: testsuite/asterisk/trunk r2843 - /asterisk/trunk/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sun Dec 4 03:15:53 CST 2011


Author: wdoekes
Date: Sun Dec  4 03:15:49 2011
New Revision: 2843

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=2843
Log:
Fix cleanup-test-remnants script in a couple of ways.

- Don't break on spaces in filenames. 
- Use xargs for less overhead.
- Don't filter *svn but only .svn.

Modified:
    asterisk/trunk/cleanup-test-remnants.sh

Modified: asterisk/trunk/cleanup-test-remnants.sh
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/cleanup-test-remnants.sh?view=diff&rev=2843&r1=2842&r2=2843
==============================================================================
--- asterisk/trunk/cleanup-test-remnants.sh (original)
+++ asterisk/trunk/cleanup-test-remnants.sh Sun Dec  4 03:15:49 2011
@@ -1,4 +1,4 @@
 #!/bin/bash
 
-for n in `find . -type d -name 'tmp' | grep -v ".svn"` ; do rm -rf $n ; done
+find . -type d -name tmp | grep -vF .svn | xargs -d\\n rm -rf
 rm -rf /tmp/asterisk-testsuite




More information about the svn-commits mailing list