Use "$PWD" instead of pwd in install instructions

There's no need to promote the use of the `pwd` command when shells
export the current directory as `$PWD`. Using `$PWD` makes the
commandline work in fish as well. Additionally, quote the variable so it
works properly even if the cwd has a space in it.
This commit is contained in:
Kevin Ballard 2014-12-29 13:05:22 -08:00
parent b46015585b
commit 6d873561e8

View File

@ -45,7 +45,7 @@ git clone https://github.com/rust-lang/cargo
cd cargo
git submodule update --init
./.travis.install.deps.sh
./configure --local-rust-root=`pwd`/rustc
./configure --local-rust-root="$PWD"/rustc
make
make install
```