New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changes between Version 24 and Version 25 of Migration


Ignore:
Timestamp:
04/20/10 13:02:23 (3 years ago)
Author:
dweber@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Migration

    v24 v25  
    6767$ ./myports.bash 
    6868}}} 
     69 
     70Another possibility is this script, which will list all the ports on one {{{sudo port install}}} command, rather than a separate command for each port. 
     71 
     72{{{ 
     73$ cat myports.txt | /usr/bin/sed \ 
     74 -e 's/@[._0-9]*//' \ 
     75 -e 's/(active)//' \ 
     76 -e 's/+/ +/g' \ 
     77 -e 's/[+]darwin[_i0-9]*//g' \ 
     78 -e 's/+macosx//g' \ 
     79 -e 's/+i386//g' \ 
     80 -e 's/+gcc[0-9]*//' \ 
     81 -e '$q;s/$/ \\/' \ 
     82 -e 's/.*currently installed:.*/#!\/bin\/bash/' \ 
     83 -e '/\bin\/bash/ a\ 
     84 sudo port install \\ 
     85' > myports.bash 
     86$ chmod +x myports.bash 
     87$ ./myports.bash 
     88}}}