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.134~28^2~5 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=4dc0e31805b6427bc498ca3a72274bf8494df6a4;p=feisty_meow.git 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.