Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use pkg rquery when checking for programs available version

  • Loading branch information...
commit 42c6cfd76be3ed29e7d8d17b924f3325cf484f42 1 parent dc3a1ab
Kris Moore kmoore134 authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  src-sh/pbi-manager10/pbi-manager
2  src-sh/pbi-manager10/pbi-manager
@@ -1638,7 +1638,7 @@ get_pbi_progversion() {
1638 1638
1639 1639 # Check first if we have this pkg in PKGNG
1640 1640 if [ -e "/usr/local/sbin/pkg-static" -a -n "${PBI_MAKEPORT}" ] ; then
1641   - local testPkgVer="`pkg query %v ${PBI_MAKEPORT}`"
  1641 + local testPkgVer="`pkg rquery %v ${PBI_MAKEPORT}`"
1642 1642 if [ -n "$testPkgVer" ] ; then
1643 1643 export PBI_PROGVERSION="$testPkgVer"
1644 1644 return 0

0 comments on commit 42c6cfd

Please sign in to comment.
Something went wrong with that request. Please try again.