Skip to content

Commit dffb0b7

Browse files
committed
fix(install.sh): use ${version} brace syntax to guard against CDN cache skew
$version... worked once the ellipsis was replaced with ASCII dots, but using ${var} explicitly terminates the variable name regardless of what follows. Also forces a new git blob to bust GitHub raw CDN cache that has been serving the pre-fix install.sh for >12 h.
1 parent 26b23bf commit dffb0b7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ resolve_install_dir() {
107107
install_native() {
108108
local version=$1 asset=$2 dest=$3 os=$4
109109
local url="https://github.com/$REPO/releases/download/$version/$asset"
110-
info "Downloading $asset $version..."
110+
info "Downloading $asset ${version}..."
111111
curl -fsSL "$url" -o "$dest"
112112
chmod +x "$dest"
113113
if [[ "$os" == "macos" ]]; then
@@ -125,7 +125,7 @@ install_jar() {
125125
local wrapper="$bin_dir/$BINARY"
126126

127127
mkdir -p "$lib_dir"
128-
info "Downloading fat JAR $version..."
128+
info "Downloading fat JAR ${version}..."
129129
curl -fsSL "$url" -o "$jar_dest"
130130
success "JAR saved → $jar_dest"
131131

0 commit comments

Comments
 (0)