X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsite_avenger%2Fpowerup.sh;h=de9310c10b3b9d067e9a017b59b097b97ea088b7;hb=5757974ee8b01620b986c17ae868f120c138cd6b;hp=ef4c0976c999ed7c1e029798ea7f8738719538f4;hpb=baf5d7c693e351bd775114380dc0111bc3e4028e;p=feisty_meow.git diff --git a/scripts/site_avenger/powerup.sh b/scripts/site_avenger/powerup.sh index ef4c0976..de9310c1 100644 --- a/scripts/site_avenger/powerup.sh +++ b/scripts/site_avenger/powerup.sh @@ -59,7 +59,11 @@ source "$THISDIR/shared_site_mgr.sh" sep -check_apps_root "$BASE_APPLICATION_PATH" +check_apps_root "$app_dirname" + +echo fixing some things here... +echo "apps root is now '$BASE_APPLICATION_PATH'" +echo " => this should be just above the app dir name if we got no parms!" # find proper webroot where the site will be initialized. if [ -z "$app_dirname" ]; then @@ -91,8 +95,7 @@ echo "Repository: $repo_name" echo "Theme name: $theme_name" sep -echo in powerup before update repo with: -var CHECKOUT_DIR_NAME DEFAULT_REPOSITORY_ROOT +log_feisty_meow_event "in powerup before update repo with: $(var CHECKOUT_DIR_NAME DEFAULT_REPOSITORY_ROOT)" # this should set the site_store_path variable if everything goes well. update_repo "$full_app_dir" "$CHECKOUT_DIR_NAME" "$DEFAULT_REPOSITORY_ROOT" "$repo_name"