X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=infobase%2Ffeisty_inits%2Fdot.bashrc-normal-user;h=fde023212e7de61709a0d8c90674f7a99cb34296;hb=e157e95b1012e506bb5ed0eae422fd922d0cd362;hp=615970aa422bc56e1a333c0e38a10f6eef792bc7;hpb=f70b2e152d652d724ff6313f15643f3972dddc2c;p=feisty_meow.git diff --git a/infobase/feisty_inits/dot.bashrc-normal-user b/infobase/feisty_inits/dot.bashrc-normal-user index 615970aa..fde02321 100644 --- a/infobase/feisty_inits/dot.bashrc-normal-user +++ b/infobase/feisty_inits/dot.bashrc-normal-user @@ -5,9 +5,11 @@ ############## -# drag in the default version of this file. this may not be needed if your -# .bashrc script already has substantial code or already does this. -source /etc/bash.bashrc +if [ -f /etc/bash.bashrc ]; then + # drag in the default version of this file. this may not be needed if your + # .bashrc script already has substantial code or already does this. + source /etc/bash.bashrc +fi ############## @@ -24,7 +26,11 @@ export FEISTY_MEOW_APEX="/opt/feistymeow.org/feisty_meow" # sets up the feisty_meow scripts if appropriate for the environment. if [ "${TERM}" != "dumb" -a -z "$PBS_ENVIRONMENT" ]; then - source "$FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh" + if [ -d "$FEISTY_MEOW_APEX" ]; then + source "$FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh" + else + echo "feisty meow codebase is not available at: $FEISTY_MEOW_APEX" + fi fi # if not commented out, then feisty meow will run all the unit tests during builds.