adding extra app dir fix prior to checkout
authorChris Koeritz <fred@gruntose.com>
Tue, 13 Mar 2018 15:32:34 +0000 (11:32 -0400)
committerChris Koeritz <fred@gruntose.com>
Tue, 13 Mar 2018 15:32:34 +0000 (11:32 -0400)
scripts/site_avenger/standup.sh

index 864d74be72a37113e5a0999a57aee79569a59bc2..f6fb8e55003dad639acc9d88d7498f68624e25ef 100644 (file)
@@ -85,6 +85,11 @@ fi
 
 sep
 
+# run this prior to the checkout to fix perms.
+fix_appdir_ownership "$BASE_APPLICATION_PATH" "$APPLICATION_NAME" 
+
+sep
+
 #echo about to do powerup with: app="$APPLICATION_NAME" repo="$REPO_NAME" theme="$THEME_NAME"
 #echo default repo is "$DEFAULT_REPOSITORY_ROOT" 
 
@@ -92,6 +97,7 @@ powerup "$APPLICATION_NAME" "$REPO_NAME" "$THEME_NAME"
 
 sep
 
+# run this again after checkout to ensure apache can write.
 fix_appdir_ownership "$BASE_APPLICATION_PATH" "$APPLICATION_NAME" 
 
 sep