version 1.40.130 release
[feisty_meow.git] / scripts / core / is_feisty_up.sh
1 #!/bin/bash
2
3 # tells the caller if the feisty_meow scripts have been initialized
4 # successfully or not, as far as we can tell.
5 # any parameter passed will cause us to go into debugging mode.
6
7 do_debug="$1"; shift
8
9 if [ \
10     -z "$FEISTY_MEOW_APEX" -o \
11     -z "$CORE_VARIABLES_LOADED" -o \
12     -z "$FEISTY_MEOW_LOADING_DOCK" \
13   ]; then
14   if [ ! -z "$do_debug" ]; then
15     echo "Bailing out because a crucial Feisty Meow initialization variable is missing."
16   fi
17   exit 1
18 fi
19
20 # we got through the minimal gauntlet, so claim we're initialized.
21 if [ ! -z "$do_debug" ]; then
22   echo "Looking good for every Feisty Meow initialization variable that we check."
23 fi
24 exit 0
25
26