[Docs] fix spelling

Josh Soref 2018-03-06 04:38:01 +00:00 committed by Jordan Harband
parent d6fa67166c
commit 2859a19bbd
No known key found for this signature in database
GPG Key ID: 64A196AEE0916D55
7 changed files with 8 additions and 8 deletions

View File

@ -24,7 +24,7 @@ ENV UBUNTU_APT_SITE ubuntu.cs.utah.edu
# Disable src package source # Disable src package source
RUN sed -i 's/^deb-src\ /\#deb-src\ /g' /etc/apt/sources.list RUN sed -i 's/^deb-src\ /\#deb-src\ /g' /etc/apt/sources.list
# Replace origin apt pacakge site with the mirror site # Replace origin apt package site with the mirror site
RUN sed -E -i "s/([a-z]+.)?archive.ubuntu.com/$UBUNTU_APT_SITE/g" /etc/apt/sources.list RUN sed -E -i "s/([a-z]+.)?archive.ubuntu.com/$UBUNTU_APT_SITE/g" /etc/apt/sources.list
RUN sed -i "s/security.ubuntu.com/$UBUNTU_APT_SITE/g" /etc/apt/sources.list RUN sed -i "s/security.ubuntu.com/$UBUNTU_APT_SITE/g" /etc/apt/sources.list

View File

@ -508,7 +508,7 @@ To make the development and testing work easier, we have a Dockerfile for develo
$ docker build -t nvm-dev . $ docker build -t nvm-dev .
``` ```
This will package your current nvm repository with our pre-defiend development environment into a docker image named `nvm-dev`, once it's built with success, validate your image via `docker images`: This will package your current nvm repository with our pre-defined development environment into a docker image named `nvm-dev`, once it's built with success, validate your image via `docker images`:
```sh ```sh
$ docker images $ docker images

View File

@ -3,7 +3,7 @@
This is a list of the primary features planned for `nvm`: This is a list of the primary features planned for `nvm`:
- [x] Rewriting installation code paths to support installing `io.js` and `node` `v4+` [from source](https://github.com/creationix/nvm/issues/1188). - [x] Rewriting installation code paths to support installing `io.js` and `node` `v4+` [from source](https://github.com/creationix/nvm/issues/1188).
- This will include [reusing previously downloaded tarballs](https://github.com/creationix/nvm/issues/1193) that match checksums, which is a nice performance and bandwith bonus. - This will include [reusing previously downloaded tarballs](https://github.com/creationix/nvm/issues/1193) that match checksums, which is a nice performance and bandwidth bonus.
- [ ] Adding opt-in environment variable support to list, download, and install `node` [release candidates](https://github.com/creationix/nvm/issues/779), and [nightly builds](https://github.com/creationix/nvm/issues/1053). - [ ] Adding opt-in environment variable support to list, download, and install `node` [release candidates](https://github.com/creationix/nvm/issues/779), and [nightly builds](https://github.com/creationix/nvm/issues/1053).
- [ ] [`nvm update`](https://github.com/creationix/nvm/issues/400): the ability to autoupdate `nvm` itself - [ ] [`nvm update`](https://github.com/creationix/nvm/issues/400): the ability to autoupdate `nvm` itself
- [ ] [v1.0.0](https://github.com/creationix/nvm/milestone/1), including updating the [nvm on npm](https://github.com/creationix/nvm/issues/304) to auto-install nvm properly - [ ] [v1.0.0](https://github.com/creationix/nvm/milestone/1), including updating the [nvm on npm](https://github.com/creationix/nvm/issues/304) to auto-install nvm properly

4
nvm.sh
View File

@ -2176,7 +2176,7 @@ iojs_version_has_solaris_binary() {
# Succeeds if $NODE_VERSION represents a node version that has a # Succeeds if $NODE_VERSION represents a node version that has a
# Solaris binary, fails otherwise. # Solaris binary, fails otherwise.
# Currently, node versions starting from v0.8.6 have a Solaris binary # Currently, node versions starting from v0.8.6 have a Solaris binary
# avaliable. # available.
node_version_has_solaris_binary() { node_version_has_solaris_binary() {
local NODE_VERSION local NODE_VERSION
NODE_VERSION="$1" NODE_VERSION="$1"
@ -2589,7 +2589,7 @@ nvm() {
# Fail on lines that have multiple space-separated words # Fail on lines that have multiple space-separated words
case ${line} in case ${line} in
*\ * ) *\ * )
nvm_err "Only one package per line is allowed in the ${NVM_DIR}/default-packages file. Please remove any lines with multiple space-seperated values." nvm_err "Only one package per line is allowed in the ${NVM_DIR}/default-packages file. Please remove any lines with multiple space-separated values."
return 1 return 1
;; ;;
esac esac

View File

@ -16,7 +16,7 @@ assert_not_ok node_version_has_solaris_binary "v3.3.1"
# Valid io.js version numbers that have a Solaris binary fail # Valid io.js version numbers that have a Solaris binary fail
assert_not_ok node_version_has_solaris_binary "iojs-v3.3.1" assert_not_ok node_version_has_solaris_binary "iojs-v3.3.1"
# Invvalid io.js version numbers fail # Invalid io.js version numbers fail
assert_not_ok node_version_has_solaris_binary "iojs-v0.12.7" assert_not_ok node_version_has_solaris_binary "iojs-v0.12.7"
# Valid node version numbers that don't have a Solaris binary fail # Valid node version numbers that don't have a Solaris binary fail

View File

@ -4,4 +4,4 @@ die () { echo "$@" ; exit 1; }
\. ../../../nvm.sh \. ../../../nvm.sh
[ "_$(nvm_alias_path)" = "_$NVM_DIR/alias" ] || die "nvm_alias_path did not requrn correct location" [ "_$(nvm_alias_path)" = "_$NVM_DIR/alias" ] || die "nvm_alias_path did not return correct location"

View File

@ -16,7 +16,7 @@ assert_not_ok nvm_has_solaris_binary "v3.3.1"
# Valid io.js version numbers that have a Solaris binary succeed # Valid io.js version numbers that have a Solaris binary succeed
assert_ok nvm_has_solaris_binary "iojs-v3.3.1" assert_ok nvm_has_solaris_binary "iojs-v3.3.1"
# Invvalid io.js version numbers fail # Invalid io.js version numbers fail
assert_not_ok nvm_has_solaris_binary "iojs-v0.12.7" assert_not_ok nvm_has_solaris_binary "iojs-v0.12.7"
# Valid node version numbers that don't have a Solaris binary fail # Valid node version numbers that don't have a Solaris binary fail