diff options
author | Juergen Daubert <jue@jue.li> | 2009-09-11 18:41:23 +0200 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2009-09-11 18:41:23 +0200 |
commit | a38216b3ffb472a802ad418e3615b32622da7988 (patch) | |
tree | 669cbaaa55ed42cbc14e9bc89813fbd0e37a0541 | |
parent | e217c15d7adbfe6ca5bf523b114eaa163ca265eb (diff) | |
download | iso-2.6.tar.gz iso-2.6.tar.xz |
checkportstree: follow symlinks2.6
-rwxr-xr-x | ports/checkportstree | 4 |
1 files changed, 2 insertions, 2 deletions
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 |