diff options
author | gerald <gerald@FreeBSD.org> | 2007-09-17 06:24:12 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2007-09-17 06:24:12 +0800 |
commit | f1f18cc0575ebe93405850a27271b0b6ff7a669e (patch) | |
tree | b50d33e7366da442ff7c792d5fc9d1476278a530 /Tools/scripts | |
parent | aa4d3fb14cb0c3e69aa5d2a383327839e776f54a (diff) | |
download | freebsd-ports-gnome-f1f18cc0575ebe93405850a27271b0b6ff7a669e.tar.gz freebsd-ports-gnome-f1f18cc0575ebe93405850a27271b0b6ff7a669e.tar.zst freebsd-ports-gnome-f1f18cc0575ebe93405850a27271b0b6ff7a669e.zip |
Replace two further instances of /var/db/pkg by $PKG_DBDIR.
Diffstat (limited to 'Tools/scripts')
-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" |