Using find's -exec to remove directories causes 'not found' errors when find tries...
[openwrt/svn-archive/archive.git] / scripts / feeds.sh
index 351c87c43dd2ca70d8fda03c4b383cc4276f3970..9fc3343a1be14a51a8e5587e920110f46afc923b 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() {