echo about to do powerup with: app="$APPLICATION_NAME" repo="$REPO_NAME" theme="$THEME_NAME"
echo default repo is "$DEFAULT_REPOSITORY_ROOT"
-#hmmm: maybe can get rid of user name parm if this works?
-echo before redo login permissions
-sudo su -i -u $(logname)
-echo after redo login permissions
-whoami
-echo user=$USER
-
-
# pass the real user name who should own the files.
-powerup "$APPLICATION_NAME" "$REPO_NAME" "$THEME_NAME" "$(logname)"
+sudo su -u $(logname) bash "$WORKDIR/powerup.sh" "$APPLICATION_NAME" "$REPO_NAME" "$THEME_NAME"
+# "$(logname)"
sep