From 4dc0e31805b6427bc498ca3a72274bf8494df6a4 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