diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2007-09-16 22:24:12 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2007-09-16 22:24:12 +0000 |
commit | 957d2a35c5aeeed0753029d33cca52def8a3656a (patch) | |
tree | 81159275a16c7fdfb39e8abd397d83c37504dacb /Tools | |
parent | d170262d358e5ef9f0e7c0862e9b143ce8deb052 (diff) | |
download | ports-957d2a35c5aeeed0753029d33cca52def8a3656a.tar.gz ports-957d2a35c5aeeed0753029d33cca52def8a3656a.zip |
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/scripts/resolveportsfromlibs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/scripts/resolveportsfromlibs.sh b/Tools/scripts/resolveportsfromlibs.sh index b88a61186a13..f1ea1345f5a9 100755 --- a/Tools/scripts/resolveportsfromlibs.sh +++ b/Tools/scripts/resolveportsfromlibs.sh @@ -137,9 +137,9 @@ for i in $@; do if [ ${origin} = unknown ]; then if [ -f ${lib_pathname} ]; then port=$(pkg_which "${lib_pathname}") - if [ -f /var/db/pkg/$port/+CONTENTS ]; then + if [ -f $PKG_DBDIR/$port/+CONTENTS ]; then origin=$(grep "@comment ORIGIN:" \ - /var/db/pkg/$port/+CONTENTS \ + $PKG_DBDIR/$port/+CONTENTS \ | sed -e 's/@comment ORIGIN://') else result="${lib} ($i) not found, unknown origin" |