From 60c2f55a575288b5148ed8c530b720d2576cbc48 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sun, 12 Nov 2017 21:55:43 -0500 Subject: [PATCH] fix for apache auto locate --- scripts/site_avenger/config/default.app | 2 +- scripts/system/add_apache_site.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/site_avenger/config/default.app b/scripts/site_avenger/config/default.app index e6f9cf30..4fe8303c 100644 --- a/scripts/site_avenger/config/default.app +++ b/scripts/site_avenger/config/default.app @@ -36,7 +36,7 @@ export REPO_NAME="${app_dirname}" echo repo name was computed as $REPO_NAME -export THEME_NAME="$(capitalize_first_char "${app_dirname}.git")" +export THEME_NAME="$(capitalize_first_char "${app_dirname}")" echo theme name was computed as $THEME_NAME diff --git a/scripts/system/add_apache_site.sh b/scripts/system/add_apache_site.sh index 647b87b9..30ff1f50 100644 --- a/scripts/system/add_apache_site.sh +++ b/scripts/system/add_apache_site.sh @@ -4,7 +4,9 @@ # 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. -source "$WORKDIR/../core/launch_feisty_meow.sh" +export FEISTY_MEOW_APEX="$( \cd "$WORKDIR/../.." && \pwd )" + +source "$FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh" # some convenient defaults for our current usage. -- 2.34.1