From: Chris Koeritz Date: Thu, 14 May 2020 14:29:39 +0000 (-0400) Subject: added a safety net in case feisty_meow not present X-Git-Tag: 2.140.117^2~5 X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=e157e95b1012e506bb5ed0eae422fd922d0cd362 added a safety net in case feisty_meow not present --- diff --git a/infobase/feisty_inits/dot.bashrc-normal-user b/infobase/feisty_inits/dot.bashrc-normal-user index f64bbcfc..fde02321 100644 --- a/infobase/feisty_inits/dot.bashrc-normal-user +++ b/infobase/feisty_inits/dot.bashrc-normal-user @@ -26,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.