using THISDIR instead of WORKDIR
[feisty_meow.git] / scripts / site_avenger / siteup.sh
index e2a70593334ebffa4a30416fa5f377eedab1e567..8c186ad904da0b05d1af6fdefeda797f2d1b845f 100644 (file)
@@ -5,7 +5,7 @@
 
 # updates a site avenger app.
 
-export WORKDIR="$( \cd "$(\dirname "$0")" && \pwd )"  # obtain the script's working directory.
+export THISDIR="$( \cd "$(\dirname "$0")" && \pwd )"  # obtain the script's working directory.
 
 ############################
 
@@ -15,7 +15,7 @@ export WORKDIR="$( \cd "$(\dirname "$0")" && \pwd )"  # obtain the script's work
 app_dirname="$1"; shift
 repo_name="$1"; shift
 
-source "$WORKDIR/shared_site_mgr.sh"
+source "$THISDIR/shared_site_mgr.sh"
 
 sep