Skip to content

Commit

Permalink
Debug krew
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Maria Cultrera committed Oct 14, 2023
1 parent e6872c2 commit 5e6f920
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 @@ -9,6 +9,8 @@ if [ -n "$_REMOTE_USER" ]; then
su - $_REMOTE_USER
fi

whoami

. ./library_scripts.sh

# nanolayer is a cli utility which keeps container layers as small as possible
Expand All @@ -29,6 +31,7 @@ fi
# --option repo='kubernetes-sigs/krew' --option binaryNames='kubectl-krew' --option version="$VERSION"

(
whoami
set -x; cd "$(mktemp -d)" &&
OS="$(uname | tr '[:upper:]' '[:lower:]')" &&
ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')" &&
Expand Down

0 comments on commit 5e6f920

Please sign in to comment.