mac Plumb: skip loading non-existent .bashrc

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5434052
This commit is contained in:
Rob Kroeger 2011-11-28 10:09:26 -05:00 committed by Russ Cox
parent 0c9524b721
commit 83a5aba766
2 changed files with 4 additions and 1 deletions

View file

@ -28,6 +28,7 @@ Michael Teichgräber <mt@ib.wmipf.de>
Nikolai Saoukh <nikolai.saoukh@gmail.com>
Peter Saveliev <svinota.saveliev@gmail.com>
Richard Miller <millerresearch@gmail.com>
Rob Kroeger <robkroeger@gmail.com>
Rob Pike <robpike@gmail.com>
Russ Cox <rsc@swtch.com>
Sean McKean <smckean83@gmail.com>

View file

@ -1,6 +1,8 @@
#!/bin/bash
. ~/.bashrc
if [ -e ~/.bashrc ] ; then
. ~/.bashrc
fi
PLAN9=${PLAN9:-/usr/local/plan9}
bin=$PLAN9/bin