New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79883


Ignore:
Timestamp:
06/28/11 19:44:49 (4 years ago)
Author:
jmr@…
Message:

mpab: avoid some awk-fu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/mpab/chroot-scripts/buildports

    r79880 r79883  
    9393   echo "Building ${portName} (${currentCount} of ${portCount})...\c" 
    9494   # If there's a package, don't build again 
    95    portVersion=`${PREFIX}/bin/port info --version ${portName} | awk '{print $2}'` 
    96    portRevision=`${PREFIX}/bin/port info --revision ${portName} | awk '{print $2}'` 
     95   portVersion=`${PREFIX}/bin/port info --version --line ${portName}` 
     96   portRevision=`${PREFIX}/bin/port info --revision --line ${portName}` 
    9797   portPackageBaseName="${portName}-${portVersion}_${portRevision}" 
    9898   #ls ${packageDir}/${portName}/${portPackageBaseName}[+.]*${tclOS}_${tclOSMajor}.${ACCEPT_ARCHS}${ARCHIVE_TYPE} > /dev/null 2>&1 
Note: See TracChangeset for help on using the changeset viewer.