New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 81592


Ignore:
Timestamp:
08/02/11 08:58:41 (4 years ago)
Author:
jmr@…
Message:

mpab: turn skipping of ports with existing archives back on, but also mark them as successes

File:
1 edited

Legend:

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

    r81560 r81592  
    9797   portRevision=`${PREFIX}/bin/port info --revision --line ${portName}` 
    9898   portPackageBaseName="${portName}-${portVersion}_${portRevision}" 
    99    #ls ${packageDir}/${portName}/${portPackageBaseName}[+.]*${tclOS}_${tclOSMajor}.${ACCEPT_ARCHS}${ARCHIVE_TYPE} > /dev/null 2>&1 
    100    #if [[ $? == 0 ]]; then 
    101    #   echo "package found, not building again" 
    102    #else 
     99   ls ${packageDir}/${portName}/${portPackageBaseName}[+.]*${tclOS}_${tclOSMajor}.${ACCEPT_ARCHS}${ARCHIVE_TYPE} > /dev/null 2>&1 
     100   if [[ $? == 0 ]]; then 
     101      echo "package found, not building again" | tee -a ${PROGRESSLOG} | tee ${PORTRESULTSDIR}/success/${portName}.log 
     102   else 
    103103      skipPort="" 
    104104      portDeps=`${PREFIX}/bin/port info --depends --line ${portName} | /usr/bin/tr ',' ' '` 
     
    129129         echo "${portName} not built due to failed dependency ${skipPort}" > ${PORTRESULTSDIR}/fail/${portName}.log 
    130130      fi 
    131    #fi 
     131   fi 
    132132   currentCount=$((${currentCount}+1)) 
    133133done 
Note: See TracChangeset for help on using the changeset viewer.