X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsystem%2Fremove_apache_site.sh;h=6d23e7ab7205e3a146ee0e359a8627a4bc914ff7;hb=2e93c29a45ae9d58694c0de962151e6829739380;hp=ef6c8b6d79915b608f44707f9e6094bcca87a23c;hpb=a95d773413c7ad550c1c310f02e182347fc3a1c6;p=feisty_meow.git diff --git a/scripts/system/remove_apache_site.sh b/scripts/system/remove_apache_site.sh index ef6c8b6d..6d23e7ab 100644 --- a/scripts/system/remove_apache_site.sh +++ b/scripts/system/remove_apache_site.sh @@ -3,8 +3,8 @@ # uninstalls the apache website for a specified domain. # auto-find the scripts, since we might want to run this as sudo. -export WORKDIR="$( \cd "$(\dirname "$0")" && /bin/pwd )" # obtain the script's working directory. -export FEISTY_MEOW_APEX="$( \cd "$WORKDIR/../.." && \pwd )" +export THISDIR="$( \cd "$(\dirname "$0")" && /bin/pwd )" # obtain the script's working directory. +export FEISTY_MEOW_APEX="$( \cd "$THISDIR/../.." && \pwd )" source "$FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh" source "$FEISTY_MEOW_SCRIPTS/system/common_sysadmin.sh"