diff --git a/ports/checkportstree b/ports/checkportstree index ee61f51..aa39558 100755 --- a/ports/checkportstree +++ b/ports/checkportstree @@ -34,7 +34,7 @@ clean() { } find_packages() { - find $PORTS_DIR -name '*.pkg.tar.gz' | sed 's|^.*/||;s|#.*$||' | sort > $PKGS_D + find -L $PORTS_DIR -name '*.pkg.tar.gz' | sed 's|^.*/||;s|#.*$||' | sort > $PKGS_D cat $PKGS_D | uniq > $PKGS_U } @@ -64,7 +64,7 @@ outdated_pkg() { outdated() { local prt otd for prt in $(cat $ALL_PKGS); do - pushd $(find $PORTS_DIR -maxdepth 2 -name $prt -type d) > /dev/null + pushd $(find -L $PORTS_DIR -maxdepth 2 -name $prt -type d) > /dev/null otd="$otd $(outdated_pkg)" popd > /dev/null done