mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 14:51:49 +00:00
nvm sync - fix the distribution path of >v0.5.0
This commit is contained in:
parent
c10ca74b5b
commit
7cbff22d1d
3
nvm.sh
3
nvm.sh
@ -223,6 +223,9 @@ nvm()
|
|||||||
for VER in `curl -s http://nodejs.org/dist/ -o - | grep 'node-v.*\.tar\.gz' | sed -e 's/.*node-//' -e 's/\.tar\.gz.*//'`; do
|
for VER in `curl -s http://nodejs.org/dist/ -o - | grep 'node-v.*\.tar\.gz' | sed -e 's/.*node-//' -e 's/\.tar\.gz.*//'`; do
|
||||||
touch $VER
|
touch $VER
|
||||||
done
|
done
|
||||||
|
for VER in `curl -s http://nodejs.org/dist/ -o - | grep 'v0.[0-9]\{1,2\}\.[0-9]\{1,2\}/' | sed -e 's/.*v0./v0./' | sed -e 's/\/.*//'`; do
|
||||||
|
touch $VER
|
||||||
|
done
|
||||||
echo " done."
|
echo " done."
|
||||||
)
|
)
|
||||||
[ "$STABLE" = `nvm_version stable` ] || echo "NEW stable: `nvm_version stable`"
|
[ "$STABLE" = `nvm_version stable` ] || echo "NEW stable: `nvm_version stable`"
|
||||||
|
Loading…
Reference in New Issue
Block a user