diff options
author | Rob Kroeger <robkroeger@gmail.com> | 2011-11-28 10:09:26 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2011-11-28 10:09:26 -0500 |
commit | 83a5aba766bf2a2a84fe20df0d72d47a9105fdb2 (patch) | |
tree | bef5e0d2150d1e2c2187ce30aed4a04c447df783 /mac | |
parent | 0c9524b72197871c435464d064fdcc3dd5437581 (diff) | |
download | plan9port-83a5aba766bf2a2a84fe20df0d72d47a9105fdb2.tar.gz plan9port-83a5aba766bf2a2a84fe20df0d72d47a9105fdb2.tar.bz2 plan9port-83a5aba766bf2a2a84fe20df0d72d47a9105fdb2.zip |
mac Plumb: skip loading non-existent .bashrc
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5434052
Diffstat (limited to 'mac')
-rwxr-xr-x | mac/Plumb.app/Contents/MacOS/plumb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mac/Plumb.app/Contents/MacOS/plumb b/mac/Plumb.app/Contents/MacOS/plumb index fc5e2c30..f98cd2e7 100755 --- a/mac/Plumb.app/Contents/MacOS/plumb +++ b/mac/Plumb.app/Contents/MacOS/plumb @@ -1,6 +1,8 @@ #!/bin/bash -. ~/.bashrc +if [ -e ~/.bashrc ] ; then + . ~/.bashrc +fi PLAN9=${PLAN9:-/usr/local/plan9} bin=$PLAN9/bin |