X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsite_avenger%2Fshared_site_mgr.sh;h=5f3ca1643938b5e6b6d2ca59275c62ffba0703fd;hb=33942f43a2d7c1e5d7b091bd11ab5cb9d320e8f1;hp=3c03ccbe6002aeb52223f952b8150b83f1bc471d;hpb=185c9030a042e1e274c3b6af307dace6ada968e4;p=feisty_meow.git diff --git a/scripts/site_avenger/shared_site_mgr.sh b/scripts/site_avenger/shared_site_mgr.sh index 3c03ccbe..5f3ca164 100644 --- a/scripts/site_avenger/shared_site_mgr.sh +++ b/scripts/site_avenger/shared_site_mgr.sh @@ -16,6 +16,8 @@ source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" export SITE_MANAGEMENT_CONFIG_FILE if [ -z "$SITE_MANAGEMENT_CONFIG_FILE" ]; then SITE_MANAGEMENT_CONFIG_FILE="$WORKDIR/config/default.app" + echo "Site management config file was not set. Using default:" + echo " $SITE_MANAGEMENT_CONFIG_FILE" fi # load in at least the default version to get us moving. @@ -88,6 +90,7 @@ function find_app_folder() echo "Application folder is: $app_dirname" local configfile="$WORKDIR/config/${app_dirname}.app" +echo hoping config file would be: $configfile if [ ! -f "$configfile" ]; then # this is not a good config file. we can't auto-guess the config. echo -e " @@ -99,7 +102,7 @@ the standard pattern for cakephp projects." # reinitialize some variables based on the app name. else # they gave us a valid config file. let's try using it. - SITE_MANAGEMENT_CONFIG_FILE="$configfile" + export SITE_MANAGEMENT_CONFIG_FILE="$configfile" fi # try to load the config.