swerved off into new branch
[feisty_meow.git] / scripts / site_avenger / sitepush.sh
index b2a7de2dd5f69d96e8b1c945a70493b5fa0aaf5a..79156ea2ac76bb02e1ea1c28e2c0748321a4d552 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.
@@ -17,6 +15,8 @@ source "$WORKDIR/shared_site_mgr.sh"
 app_dirname="$1"; shift
 repo_name="$1"; shift
 
+source "$WORKDIR/shared_site_mgr.sh"
+
 sep
 
 check_application_dir "$APPLICATION_DIR"