revert find | xargs => find | exec changes - this is completely unnecessary and intro...
[openwrt/svn-archive/archive.git] / scripts / feeds.sh
index 9fc3343a1be14a51a8e5587e920110f46afc923b..a6d4ef9d71a713513e12fe66800e438366c0da28 100755 (executable)
@@ -22,7 +22,7 @@ cd $TOPDIR
 
 # Some functions we might call several times a run
 delete_symlinks() {
-       find $1 -type l -exec rm -f {} +
+       find $1 -type l | xargs -r rm -f
 }
 
 setup_symlinks() {