Use find -exec instead of xargs
[openwrt/staging/florian.git] / scripts / feeds.sh
index 351c87c43dd2ca70d8fda03c4b383cc4276f3970..d2dfe9da9f26e3c1d0f615d59f956418b0239b82 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() {