[Fix] when not using `xz` on merged node versions, use `z` to extract, not `x`
parent
4aa6902dbe
commit
08cbcf2254
8
nvm.sh
8
nvm.sh
|
@ -1366,12 +1366,12 @@ nvm_install_merged_node_binary() {
|
||||||
local sum
|
local sum
|
||||||
local NODE_PREFIX
|
local NODE_PREFIX
|
||||||
local compression
|
local compression
|
||||||
compression="gz"
|
compression='gz'
|
||||||
local tar_compression_flag
|
local tar_compression_flag
|
||||||
tar_compression_flag="x"
|
tar_compression_flag='z'
|
||||||
if nvm_supports_xz "${VERSION}"; then
|
if nvm_supports_xz "${VERSION}"; then
|
||||||
compression="xz"
|
compression='xz'
|
||||||
tar_compression_flag="J"
|
tar_compression_flag='J'
|
||||||
fi
|
fi
|
||||||
NODE_PREFIX="$(nvm_node_prefix)"
|
NODE_PREFIX="$(nvm_node_prefix)"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue