BASH   26

update src

Guest on 24th January 2023 02:01:23 PM


  1. #!/bin/sh
  2. export PATH=$PATH:/usr/local/bin
  3. cd ~/git/src
  4. git checkout -f master
  5. echo "`date`: Checked out -CURRENT"
  6. csup -L 2 -g ~/etc/git-src-supfile
  7. date
  8. git-ls-files -d | xargs git-update-index --remove
  9. git-ls-files -o | xargs git-update-index --add
  10. git-ls-files -m | xargs git-update-index
  11. git-commit -m "IFC @ `date`"
  12. echo "`date`: Committed -CURRENT"
  13.  
  14. git checkout -f releng_6 > /dev/null
  15. csup -L 2 -g ~/etc/git-src-releng6-supfile
  16. echo "`date`: Checked out RELENG_6"
  17. git-ls-files -d | xargs git-update-index --remove
  18. git-ls-files -o | xargs git-update-index --add
  19. git-ls-files -m | xargs git-update-index
  20. git-commit -m "IFRELENG_6 @ `date`"
  21. echo "`date`: Committed RELENG_6"
  22.  
  23. git checkout -f master > /dev/null
  24.  
  25. cd ~/gitweb/freebsd
  26. cvsup -L 2 ~/etc/cvs-src-supfile
  27. date
  28. echo begin parsecvs conversion
  29. #for i in `jot 2 1`; do /usr/bin/time find ~/git/cvs/src/ -name \*,v | ~/git/parsecvs/parsecvs >/dev/null 2>/dev/null; done
  30. echo done converting
  31. date

Raw Paste


Login or Register to edit or fork this paste. It's free.