Merge branch 'master' of feistymeow.org:feisty_meow into dev
[feisty_meow.git] / scripts / site_avenger / sitepush.sh
index 22574e27005aec0e3083780aa564acf659815d25..79156ea2ac76bb02e1ea1c28e2c0748321a4d552 100644 (file)
@@ -6,7 +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"
 
 ############################
 
@@ -16,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"