Updated demo user setup

This commit is contained in:
Nathan Broadbent
2013-04-09 12:04:45 +12:00
parent 7ffbaefb03
commit fc9d7787b1

View File

@@ -3,10 +3,9 @@ orig_cwd="$PWD"
# Load SCM Breeze helpers # Load SCM Breeze helpers
source "$scmbDir/lib/git/helpers.sh" source "$scmbDir/lib/git/helpers.sh"
# Set up demo git user if not configured
if [ -z "$(git config --global user.email)" ]; then if [ -z "$(git config --global user.email)" ]; then
git config --global user.email "testuser@example.com" git config --global user.email "testuser@example.com"
fi
if [ -z "$(git config --global user.name)" ]; then
git config --global user.name "Test User" git config --global user.name "Test User"
fi fi