diff options
| author | Russell Cousineau <miller.time.baby@gmail.com> | 2019-06-06 18:59:59 -0700 |
|---|---|---|
| committer | Russell Cousineau <miller.time.baby@gmail.com> | 2019-06-09 07:40:54 -0700 |
| commit | 7a252c475551486efb52f949b8af55803b700bc6 (patch) | |
| tree | 1ee1c188fa7235a1a74c13b3ce0f4ee1494b1c27 /install.sh | |
| parent | 208990173949c5211906c16453e7701d9fb98d0c (diff) | |
fix(installation): Fix rustlings installation check
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -94,10 +94,9 @@ git checkout -q tags/$Version echo "Installing the 'rustlings' executable..." cargo install --force --path . -if [ -x "$(rustlings)" ] +if ! [ -x "$(command -v rustlings)" ] then echo "WARNING: Please check that you have '~/.cargo/bin' in your PATH environment variable!" fi echo "All done! Run 'rustlings' to get started." - |
