swerved off into new branch
[feisty_meow.git] / scripts / site_avenger / avcoreup.sh
index 6462dea20f0faf3e2a8948a3adbe59ebb00fe3e0..f759494973e4b686b50d8d61807810e89869dfef 100644 (file)
@@ -7,8 +7,6 @@
 
 export WORKDIR="$( \cd "$(\dirname "$0")" && \pwd )"  # obtain the script's working directory.
 
-source "$WORKDIR/shared_site_mgr.sh"
-
 ############################
 
 # main body of script.
@@ -16,6 +14,8 @@ source "$WORKDIR/shared_site_mgr.sh"
 # check for parameters.
 app_dirname="$1"; shift
 
+source "$WORKDIR/shared_site_mgr.sh"
+
 sep
 
 check_application_dir "$APPLICATION_DIR"