mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			535 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			535 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| if [ "$BK_USER" = "Administrator" -o "$BK_USER" = "mysqldev" ]
 | |
| then
 | |
|  echo "Error: you cannot commit as 'Administrator' or 'mysqldev' user."
 | |
|  echo "as a workaround set BK_USER to your nickname"
 | |
|  echo "e.g.: export BK_USER='bar'"
 | |
|  echo ""
 | |
|  echo "Checkin FAILED!"
 | |
|  echo "Set BK_USER and retry."
 | |
|  exit 1
 | |
| fi
 | |
| 
 | |
| if [ "$REAL_EMAIL" = "" ]
 | |
| then
 | |
|  echo "Error: you must set REAL_EMAIL in your profile"
 | |
|  echo "e.g.: export REAL_EMAIL='Joe Dow <joe@foo.bar>'"
 | |
|  echo ""
 | |
|  echo "Commit FAILED!"
 | |
|  echo "Set REAL_EMAIL and retry."
 | |
|  exit 1
 | |
| fi
 | |
| 
 |