fix: properly append pinned version to code-server

This commit is contained in:
Kyle Carberry
2023-09-27 09:18:59 -05:00
parent 59243bdf23
commit c248671138

View File

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