# updates a site avenger app.
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"
############################
app_dirname="$1"; shift
repo_name="$1"; shift
+source "$WORKDIR/shared_site_mgr.sh"
+
sep
check_application_dir "$APPLICATION_DIR"
# 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"
####