Jordan Harband
cf7d5d8042
Merge pull request #1011 from dohse/keep-parameters
...
[Fix] Do not modify args of sourcing script when parsing `--install`/`--no-use` arg
Fixes #976 .
9 years ago
Jonas Dohse
7135873f80
Do not modify parameters of sourcing script in zsh
...
When sourcing a script without parameters in zsh the sourced scripts
gets the same parameters as the sourcing file and is able to modify
these parameters. Prevent nvm from removing all parameters of sourcing
script by processing a copy of the parameters in a function.
9 years ago
Jordan Harband
dc9020b133
Merge pull request #1004 from tlevine/env-bash
...
[Fix] use env bash rather than /bin/bash
9 years ago
Thomas Levine
0eaa7e0bde
use env bash in nvm-exec and install.sh
9 years ago
Thomas Levine
06b81f0f36
use env bash rather than /bin/bash
...
My bash is not installed in /bin/bash.
9 years ago
gmisra
8a20234586
Document how to reload nvm after upgrading
9 years ago
Jordan Harband
44541b416f
[New] After installing, ensure that the default is set.
9 years ago
Jordan Harband
731c2f3f70
Add `nvm_get_minor_version`
9 years ago
Jordan Harband
de64a2d95f
[Fix] `nvm_format_version` should only return 3 version groups
9 years ago
Jordan Harband
77e0449c89
[Fix] `nvm-exec`: properly exit when failing; improve error messages, suppress `nvm use --help` output
...
Fixes #997 .
9 years ago
Sébastien Larivière
649e416017
[Refactor]Double quote to prevent globbing and word splitting.
9 years ago
Jordan Harband
754a0d7c5b
Merge pull request #981 from woodb/node-v4-checksums
...
[New] Added support for sha256 checksums on `io.js` / merged `node`.
Fixes #664 , relates to #736 and #687 .
9 years ago
Brandon Wood
f73bfb6578
Updated warning message when sha256sum utility not found
...
Relates to @ljharb's comment on the warning message not including all of the
utilties searched for.
https://github.com/creationix/nvm/pull/981#discussion_r50638351
9 years ago
Brandon Wood
f1bca106a8
Added (optional) support for sha256 checksum utils
...
This commit adds (optional) support for additional sha256 checksum utilities
for newer versions of node.js and io.js that use sha256 checksums rather than
sha1.
If nothing is found to do a sha256 checksum on the client machine, a warning is
printed and things continue on as normal.
Following comments from @ljharb on incorporating some of @DomT4's PR
creationix/nvm#664 , and making this checksum optional. If I could I would
gladly include this as an addon to the now closed PR creationix/nvm#664 . I am
choosing not to file it onto that PR because it's closed and (currently)
significantly behind the master branch.
@DomT4 did the hard work of actually finding all the different ways in which
one could verify a sha256 checksum, I've just included those here in an effort
to move forward with sha256 checksum support.
9 years ago
Brandon Wood
560c8c9500
Added support for sha256 checksums
9 years ago
Jordan Harband
21c3727955
v0.30.2
9 years ago
Jordan Harband
4fcf37fa29
[New] support `--no-use` on sourcing, in supported shells.
...
Fixes #972 .
9 years ago
Nick Hwang
e76fe61d95
Add missing space before closing bracket
9 years ago
Jordan Harband
00a8b36b78
[Fix] handle unbound shell variables.
...
Fixes #868 .
9 years ago
Dwayne Crooks
1e1a005a53
[Docs] Add manual upgrade instructions to README.markdown
9 years ago
Jordan Harband
1ba8a96ec9
Merge pull request #957 from matthew-campbell/fix-profile-var
...
[Fix] `install.sh`: honor PROFILE var.
Closes #888 . Fixes #830 .
9 years ago
Matthew Campbell
4f4ff208eb
Improve error messages
9 years ago
Matthew Campbell
78fee866f5
Remove usage of declare
9 years ago
Matthew Campbell
8dc53d4dd5
Refactor and fix nvm_detect_profile tests
...
close #833
close #957
9 years ago
Matthew Campbell
645bda4987
Addresses comments to close #833
9 years ago
David Mankin
918fcb4bd2
PROFILE env var should override detected profile
...
Add tests for PROFILE overriding detected files
9 years ago
David Mankin
cb138a1815
Fix error messages in tests
9 years ago
Jordan Harband
6094dac1c1
[Fix] `nvm debug` was printing a red herring error message in non-zsh.
9 years ago
Jordan Harband
0aa3118de3
v0.30.1
9 years ago
Jordan Harband
2541baaf7d
[Refactor] Create `nvm_get_make_jobs` to abstract out “-j” logic.
9 years ago
Jordan Harband
dc8b63cb25
[Fix] `nvm install -s`: fix syntax errors.
9 years ago
Jordan Harband
f3cc95bc66
Merge pull request #952 from davemay99/install-fix-quotes
...
[Fix] install.sh: quote `$DETECTED_PROFILE`
9 years ago
Dave May
00d4520d35
Merge remote-tracking branch 'creationix/master' into install-fix-quotes
9 years ago
Jordan Harband
8ec056f768
v0.30.0
9 years ago
Dave May
f113c5d030
fix quoting for usernames with space
9 years ago
Jordan Harband
f279837d5c
[Refactor] fix some bugs in `nvm_is_natural_num`, add unit tests.
9 years ago
Jordan Harband
32d184099c
[Tests] fix cleanup in nvm_supports_xz unit test
9 years ago
Jordan Harband
31457fec3f
[Refactor] `nvm install`: make `-j` and `-s` order-independent.
9 years ago
thelostspore
1a6f85da46
README: troubleshooting scenario and homebrew unsupported note
9 years ago
Jordan Harband
d40eca8126
Merge pull request #752 from PeterDaveHelloKitchen/parallel_build
...
[New] `nvm install`: Enable multiple jobs for make when build from source via `-j`
9 years ago
Peter Dave Hello
cfccf03b3d
add test for install from source
9 years ago
Peter Dave Hello
e78dc5110e
fix CPU_THREADS/CPU_THREAD_VALID/MAKE_JOBS prefix
9 years ago
Peter Dave Hello
6320719dd8
Support parameter -j to set jobs for make
9 years ago
Peter Dave Hello
a8e6fee001
Enable multiple jobs for when build from source
9 years ago
Mathias Meyer
f851716601
Add workaround for Travis CI environment issue.
...
Per https://github.com/travis-ci/travis-ci/issues/5363
9 years ago
Jordan Harband
9787c438bb
Merge pull request #950 from kui/commands-includes-spaces
...
[Fix] fix `nvm-exec` for commands including spaces.
Relates to #903 .
9 years ago
Keiichiro Ui
b76d43e9f8
Fix `nvm-exec` for the commands includes white-spaces
9 years ago
emparq
91ce41b702
[Fix: Install] incorrect check for `"$NVM_DIR/nvm.sh"`
...
Should be using `-f` if checking for a file.
Closes #887 .
9 years ago
Kilian Ciuffolo
6638ac3318
[refactor] improved bootstrap time
...
Fixes #860 , closes #927 .
9 years ago
Peter Dave Hello
605a305300
add iojs as one of the keywords in package.json
9 years ago