Changeset f99714e


Ignore:
Timestamp:
10/14/13 10:43:01 (11 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
2c8bed6
Parents:
58663b0
Message:

Simplify the PBI port version check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pbi-manager10/pbi-manager

    rb49e151 rf99714e  
    16381638                # Check first if we have this pkg in PKGNG 
    16391639                if [ -e "/usr/local/sbin/pkg-static" ] ; then 
    1640                         local testPkgVer="`pkg info -O ${PBI_MAKEPORT} | awk '{print $1}' | rev | cut -d '-' -f 1 | rev`" 
     1640                        local testPkgVer="`pkg query %v ${PBI_MAKEPORT}`" 
    16411641                        if [ -n "$testPkgVer" ] ; then 
    16421642                                export PBI_PROGVERSION="$testPkgVer" 
Note: See TracChangeset for help on using the changeset viewer.