From 83a5aba766bf2a2a84fe20df0d72d47a9105fdb2 Mon Sep 17 00:00:00 2001 From: Rob Kroeger Date: Mon, 28 Nov 2011 10:09:26 -0500 Subject: mac Plumb: skip loading non-existent .bashrc R=rsc CC=plan9port.codebot http://codereview.appspot.com/5434052 --- CONTRIBUTORS | 1 + mac/Plumb.app/Contents/MacOS/plumb | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index e5c5eb6a..80f39ab3 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -28,6 +28,7 @@ Michael Teichgräber Nikolai Saoukh Peter Saveliev Richard Miller +Rob Kroeger Rob Pike Russ Cox Sean McKean 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 -- cgit v1.2.3