X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsite_avenger%2Fsitepush.sh;h=79156ea2ac76bb02e1ea1c28e2c0748321a4d552;hb=0b36b94c23cd8e1082e16d9441e90d9b7abcec93;hp=b88689b630bf219fd0f51c58539676483740a264;hpb=68e4e52220a4505b8e78d6df86be9846658fa824;p=feisty_meow.git diff --git a/scripts/site_avenger/sitepush.sh b/scripts/site_avenger/sitepush.sh index b88689b6..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" -check_result "Updating the repository storage directory" +test_or_die "Updating the repository storage directory" sep