You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
534 B

  1. #!/bin/sh
  2. if [ "$BK_USER" = "Administrator" -o "$BK_USER" = "mysqldev" ]
  3. then
  4. echo "Error: you cannot commit as 'Administrator' or 'mysqldev' user."
  5. echo "as a workaround set BK_USER to your nickname"
  6. echo "e.g.: export BK_USER='bar'"
  7. echo ""
  8. echo "Checkin FAILED!"
  9. echo "Set BK_USER and retry."
  10. exit 1
  11. fi
  12. if [ "$REAL_EMAIL" = "" ]
  13. then
  14. echo "Error: you must set REAL_EMAIL in your profile"
  15. echo "e.g.: export REAL_EMAIL='Joe Dow <joe@foo.bar>'"
  16. echo ""
  17. echo "Commit FAILED!"
  18. echo "Set REAL_EMAIL and retry."
  19. exit 1
  20. fi