Use find -exec instead of xargs
[openwrt.git] / scripts / feeds.sh
index 351c87c..d2dfe9d 100755 (executable)
@@ -22,7 +22,7 @@ cd $TOPDIR
 
 # Some functions we might call several times a run
 delete_symlinks() {
-       find $1 -type l | xargs rm -f
+       find $1 -type l -exec rm -f {} \;
 }
 
 setup_symlinks() {