adding extra app dir fix prior to checkout
[feisty_meow.git] / scripts / site_avenger / standup.sh
index 5adfcc63375aa07001e8e5b2818fc526a52c56bc..f6fb8e55003dad639acc9d88d7498f68624e25ef 100644 (file)
@@ -85,12 +85,20 @@ 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" 
 
 powerup "$APPLICATION_NAME" "$REPO_NAME" "$THEME_NAME"
-# pass the real user name who should own the files.
-# "$(logname)"
+
+sep
+
+# run this again after checkout to ensure apache can write.
+fix_appdir_ownership "$BASE_APPLICATION_PATH" "$APPLICATION_NAME" 
 
 sep