X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsite_avenger%2Fsitepush.sh;h=79156ea2ac76bb02e1ea1c28e2c0748321a4d552;hb=357e09d947aa7c01af86a3bd11834d17b2d7bdd9;hp=7d0a76a2c94b4f6dddda029becb591e97c5de2ad;hpb=fc51448ac8c18804d3cfc1997af3eaca5fad4c2e;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