Share Pastebin
Guest
Public paste!

jsa

By: a guest | Dec 1st, 2008 | Syntax: None | Size: 0.97 KB | Hits: 334 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1. #!/bin/sh
  2.  
  3. # This is largely unnecessary, but is a variant of what I designed to suit my needs.
  4. # It overcomes some issue that annoyed me, and makes the process one easy command
  5. # This assumes that marcusmerge is in your path
  6.  
  7. # Uninstall all installed marcusom portage if present
  8. marcusmerge -U
  9.  
  10. # CHANGE THIS to your ports-supfile
  11. csup /PATH/TO/PORTS-SUPFILE
  12.  
  13. # CHANGE THIS to your general marcuscom direcotry
  14. # example: /usr/mcom/
  15. cd /PATH/TO/MARCUSOM-PORTS
  16.  
  17.  
  18. # There will be two subdirectories under the general directory, ports and ports-stable
  19. cvs -z3 -q -d :pserver:anonymous@creme-brulee.marcuscom.com:/space/cvs/marcuscom-cvs \
  20.         up -Pd ports-stable ports
  21.  
  22. # This line fetches the INDEX file for your branch
  23. marcusmerge -i
  24.  
  25. # First, merge ports-stable, then merge marcuscom ports, order probably doesn't matter
  26. marcusmerge -m ports-stable
  27. marcusmerge -m ports
  28.  
  29. # This lists all the ports that are out of date, just for convenience
  30. marcusmerge -l