status.sh 288 B

123456789101112131415161718192021222324
  1. #!/bin/bash
  2. BASEDIR=$(dirname "$0")
  3. cd "${BASEDIR}" || exit 1
  4. BASEDIR=$(pwd)
  5. source config.sh
  6. echo "Upstream:"
  7. pushd "${UPSTREAM_DIR}" || exit 1
  8. git status
  9. popd || exit 1
  10. echo
  11. echo "PolyMC:"
  12. pushd "${PMC_DIR}" || exit 1
  13. git status
  14. popd || exit 1
  15. echo
  16. echo "Scripts:"
  17. git status
  18. echo