From e157e95b1012e506bb5ed0eae422fd922d0cd362 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Thu, 14 May 2020 10:29:39 -0400 Subject: [PATCH] added a safety net in case feisty_meow not present --- infobase/feisty_inits/dot.bashrc-normal-user | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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. -- 2.34.1