Skip to content

Commit

Permalink
use remote user in krew
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Maria Cultrera committed Oct 14, 2023
1 parent da74d71 commit e6872c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/krew/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ echo "--------------------------------------------------------------------------
printenv
echo "------------------------------------------------------------------------------------------------------------------------------------"

if [ -n "$_REMOTE_USER" ]; then
su - $_REMOTE_USER
fi

. ./library_scripts.sh

Expand Down

0 comments on commit e6872c2

Please sign in to comment.