Skip to content

Commit 7f10f25

Browse files
astorathAndrey Tuzhilin
andauthored
fix: correct helm binary in install script (#270)
Co-authored-by: Andrey Tuzhilin <[email protected]>
1 parent 2b559d6 commit 7f10f25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install-binary.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ PROJECT_NAME="helm-diff"
66
PROJECT_GH="databus23/$PROJECT_NAME"
77
export GREP_COLOR="never"
88

9-
HELM_MAJOR_VERSION=$(helm version --client --short | awk -F '.' '{print $1}')
9+
HELM_MAJOR_VERSION=$("${HELM_BIN}" version --client --short | awk -F '.' '{print $1}')
1010

11-
: ${HELM_PLUGIN_DIR:="$(helm home --debug=false)/plugins/helm-diff"}
11+
: ${HELM_PLUGIN_DIR:="$("${HELM_BIN}" home --debug=false)/plugins/helm-diff"}
1212

1313
# Convert the HELM_PLUGIN_DIR to unix if cygpath is
1414
# available. This is the case when using MSYS2 or Cygwin

0 commit comments

Comments
 (0)