getting perms right for right user
authorChris Koeritz <fred@gruntose.com>
Mon, 13 Nov 2017 02:33:50 +0000 (21:33 -0500)
committerChris Koeritz <fred@gruntose.com>
Mon, 13 Nov 2017 02:33:50 +0000 (21:33 -0500)
scripts/site_avenger/powerup.sh
scripts/site_avenger/standup.sh

index 05181fb5c080f518ab4f74958f2ba75796e317de..cf8a5c437f99b9246d0fa3f962d2b22397052c8e 100644 (file)
@@ -49,8 +49,7 @@ repo_name="$1"; shift
 theme_name="$1"; shift
 user_name="$1"; shift
 
-echo stopping with user name is $user_name
-exit 1
+echo "*** user name is $user_name"
 
 if [ "$app_dirname" == "-help" -o "$app_dirname" == "--help" ]; then
   print_instructions
index 3f5a08602160aff9900185264644dbef78c3d7cd..5c3805c1562a495fb5b7da529fe452c8915c2a2a 100644 (file)
@@ -81,7 +81,8 @@ 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" "$USER"
+# pass the real user name who should own the files.
+powerup "$APPLICATION_NAME" "$REPO_NAME" "$THEME_NAME" "$(logname)"
 
 sep