diff --git a/git-extra/bash_profile.sh b/git-extra/bash_profile.sh index 321d1b83fe..490ec0c243 100755 --- a/git-extra/bash_profile.sh +++ b/git-extra/bash_profile.sh @@ -2,7 +2,7 @@ if [ -e ~/.bashrc -a ! -e ~/.bash_profile -a ! -e ~/.bash_login -a ! -e ~/.profile ]; then printf "\n\033[31mWARNING: Found ~/.bashrc but no ~/.bash_profile, ~/.bash_login or ~/.profile.\033[m\n\n" echo "This looks like an incorrect setup." - echo "A ~/.bash_profile containing \"if [ -f ~/.bashrc ]; then . ~/.bashrc; fi\" will be created for you." + echo "A ~/.bash_profile that loads ~/.bashrc will be created for you." cat >~/.bash_profile <<\EOF # generated by Git for Windows test -f ~/.profile && . ~/.profile