X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3a8525a17a75d475824ae22e56b49c7ff882d386..550e5838c492f8d02d960c2d6d097a219335c7af:/scripts/feeds.sh diff --git a/scripts/feeds.sh b/scripts/feeds.sh index 351c87c43..e21c204c2 100755 --- a/scripts/feeds.sh +++ b/scripts/feeds.sh @@ -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 | xargs -r rm -f } setup_symlinks() { @@ -30,7 +30,7 @@ setup_symlinks() { # so that we can make this structure be flat in $PACKAGE_DIR for dir in $(ls $1/) do - ln -s $1/$dir/*/* $2/ + ln -s $1/$dir/* $2/ done }