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 --- mac/Plumb.app/Contents/MacOS/plumb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mac/Plumb.app') 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