X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsite_avenger%2Fsitepush.sh;h=79156ea2ac76bb02e1ea1c28e2c0748321a4d552;hb=0b36b94c23cd8e1082e16d9441e90d9b7abcec93;hp=7d0a76a2c94b4f6dddda029becb591e97c5de2ad;hpb=4449adcb354c8617994a11ee1d62f1f642764fa5;p=feisty_meow.git diff --git a/scripts/site_avenger/sitepush.sh b/scripts/site_avenger/sitepush.sh index 7d0a76a2..79156ea2 100644 --- a/scripts/site_avenger/sitepush.sh +++ b/scripts/site_avenger/sitepush.sh @@ -6,10 +6,6 @@ # checks the chosen site into the online git repository. export WORKDIR="$( \cd "$(\dirname "$0")" && \pwd )" # obtain the script's working directory. -source "$WORKDIR/shared_site_mgr.sh" - -# get our defaults. -source "$WORKDIR/site_avenger.config" ############################ @@ -19,6 +15,8 @@ source "$WORKDIR/site_avenger.config" app_dirname="$1"; shift repo_name="$1"; shift +source "$WORKDIR/shared_site_mgr.sh" + sep check_application_dir "$APPLICATION_DIR" @@ -44,7 +42,7 @@ sep # this should set the site_store_path variable if everything goes well. update_repo "$full_app_dir" "$CHECKOUT_DIR_NAME" "$DEFAULT_REPOSITORY_ROOT" "$repo_name" -test_or_fail "Updating the repository storage directory" +test_or_die "Updating the repository storage directory" sep