very tasty changes indeed
[feisty_meow.git] / scripts / site_avenger / sitepush.sh
index b88689b630bf219fd0f51c58539676483740a264..b2a7de2dd5f69d96e8b1c945a70493b5fa0aaf5a 100644 (file)
@@ -6,10 +6,8 @@
 # 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"
+source "$WORKDIR/shared_site_mgr.sh"
 
 ############################
 
@@ -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