X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=blobdiff_plain;f=scripts%2Fsite_avenger%2Fshared_site_mgr.sh;h=300ed3e708a4316f4cb310f2ca9fb8d8d6b6dd61;hp=7921143e351f7c4201e9595e8a3b74df05a054e0;hb=072156e50aea5cff0c813a9b61f38877311e39c8;hpb=d3be94302d5e87ef8482ba0bd894f148b2822186 diff --git a/scripts/site_avenger/shared_site_mgr.sh b/scripts/site_avenger/shared_site_mgr.sh index 7921143e..300ed3e7 100644 --- a/scripts/site_avenger/shared_site_mgr.sh +++ b/scripts/site_avenger/shared_site_mgr.sh @@ -184,10 +184,10 @@ function find_app_folder() # make sure we're allowed to auto-guess the folder name from our current dir. if [ -z "$NO_AUTOMATIC_FOLDER_GUESS" ]; then - # if we can find an avenger5 directory above our current PWD, then that - # might tell us our name. - if find_named_parent_dir "avenger5"; then - # we can grab a name above the avenger5 location. let's try that. + # if we can find the special checkout directory name above our current PWD, then that + # might tell us our project name. + if find_named_parent_dir "$CHECKOUT_DIR_NAME"; then + # we can grab a name above the checkout dir name location. let's try that. app_dirname="$(basename "$(dirname $PARENT_DIR_FOUND)" )" fi else