fix: properly append pinned version to code-server

pull/58/head
Kyle Carberry 2 years ago
parent 59243bdf23
commit c248671138

@ -12,7 +12,7 @@ ARGS=(
"--prefix=${INSTALL_PREFIX}"
)
if [ -n "${VERSION}" ]; then
args+=("--version=${VERSION}")
ARGS+=("--version=${VERSION}")
fi
output=$(curl -fsSL https://code-server.dev/install.sh | sh -s -- "$${ARGS[@]}")

Loading…
Cancel
Save