New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 81231


Ignore:
Timestamp:
07/27/11 15:51:53 (4 years ago)
Author:
jmr@…
Message:

mpab: fix recognition of 'all'

File:
1 edited

Legend:

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

    r81228 r81231  
    6767 
    6868 
    69 if [[ -f /var/tmp/portlist ]]; then 
     69if [[ -f /var/tmp/portlist && `head -n1 /var/tmp/portlist` != "all" ]]; then 
    7070   portList=`/bin/cat /var/tmp/portlist` 
    71    /bin/rm /var/tmp/portlist 
    72    if [[ `echo -n $portList` == "all" ]]; then 
    73       portList=`/usr/bin/tclsh /var/tmp/genportlist.tcl` 
    74    fi 
    7571else 
    7672   portList=`/usr/bin/tclsh /var/tmp/genportlist.tcl` 
    7773fi 
     74/bin/rm -f /var/tmp/portlist 
    7875 
    7976portCount=`echo ${portList} | /usr/bin/wc -w` 
Note: See TracChangeset for help on using the changeset viewer.