Changeset 7e02eb1a


Ignore:
Timestamp:
10/21/13 09:16:26 (13 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, releng/10.1
Children:
f5cbb14
Parents:
c65ccb6
Message:

Simplify how we set PBI_PROGVERSION

File:
1 edited

Legend:

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

    rc65ccb6 r7e02eb1a  
    16301630get_pbi_progversion() { 
    16311631 
    1632         if [ -z "${PBI_PROGVERSION}" ] ; then 
    1633                 load_pbi_conffile 
    1634  
    1635                 # If we have PBI_PROGVERSION now set 
    1636                 if [ -n "${PBI_PROGVERSION}" ] ; then return 0 ; fi 
    1637         else 
    1638                 return 0 
    1639         fi 
     1632        if [ -n "${PBI_PROGVERSION}" ] ; then return 0 ; fi 
     1633 
     1634        load_pbi_conffile 
     1635 
     1636        # If we have PBI_PROGVERSION now set 
     1637        if [ -n "${PBI_PROGVERSION}" ] ; then return 0 ; fi 
    16401638 
    16411639        # Check first if we have this pkg in PKGNG 
Note: See TracChangeset for help on using the changeset viewer.