Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge pull request #302 from tianon/skip-motd
Browse files Browse the repository at this point in the history
Add SKIP_MOTD to profile as a suppression valve
  • Loading branch information
dscho committed Mar 26, 2015
2 parents 4b4796f + 62482cc commit 70f24b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/profile
Expand Up @@ -127,7 +127,7 @@ test -x /share/msysGit/post-checkout-hook &&
mkdir -p /.git/hooks &&
cp /share/msysGit/post-checkout-hook /.git/hooks/post-checkout

test -f /etc/motd && sed "s/\$MESSAGE/$MESSAGE/" < /etc/motd
test -z "$SKIP_MOTD" -a -f /etc/motd && sed "s/\$MESSAGE/$MESSAGE/" < /etc/motd
test -x /share/msysGit/initialize.sh -a ! -d /.git &&
cat << EOF
Expand Down

0 comments on commit 70f24b4

Please sign in to comment.