/script/comdoc

http://github.com/budu/lobos · #! · 11 lines · 10 code · 1 blank · 0 comment · 0 complexity · 025c862c4324ed9e644ca38057ffe7bc MD5 · raw file

  1. #!/bin/bash
  2. ./script/gendoc
  3. cd www/doc
  4. git add .
  5. if [ -n "$1" ]; then
  6. git commit "$@"
  7. else
  8. git commit -m "Updated uberdoc files."
  9. fi
  10. cd ..