checkportstree: follow symlinks
This commit is contained in:
parent
e217c15d7a
commit
a38216b3ff
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user