Skip to content

Commit

Permalink
Update common.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Jan-Otto Kröpke <[email protected]>
  • Loading branch information
jkroepke authored Oct 15, 2024
1 parent e835acf commit 839d3be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/lib/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ CYGWIN* | MINGW64_NT*)
printf '%s' "${1}" | cygpath -w -l -f -
fi
}

_helm_winpath() { _winpath "$@"; }

_sed_i 's! - command: .*! - command: "scripts/wrapper/run.cmd downloader"!' "${HELM_PLUGIN_DIR}/plugin.yaml"
Expand All @@ -132,9 +132,9 @@ Darwin)

# We are on a Linux VM, but helm.exe (Win32) is called
case "${HELM_BIN}" in
*.exe)
*.exe)
_helm_winpath() { _winpath "$@"; }

_sed_i 's! - command: .*! - command: "scripts/wrapper/run.cmd downloader"!' "${HELM_PLUGIN_DIR}/plugin.yaml"
;;
esac
Expand Down

0 comments on commit 839d3be

Please sign in to comment.