mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 22:51:51 +00:00

Saves us ~25% bandwidth while downloading the payload. This only applies to hosts that has the `xz` binary and attempts to use iojs 2.3.2 or newer (this includes nodejs 4.0+ as well). Older targets are unaffected.
11 lines
187 B
Bash
Executable File
11 lines
187 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Remove temporary files
|
|
(
|
|
cd ../..
|
|
|
|
type setopt >/dev/null 2>&1 && setopt NULL_GLOB
|
|
type shopt >/dev/null 2>&1 && shopt -s nullglob
|
|
rm -fR v* src alias test/test-xz
|
|
)
|