We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2089901 commit 7a252c4Copy full SHA for 7a252c4
install.sh
@@ -94,10 +94,9 @@ git checkout -q tags/$Version
94
echo "Installing the 'rustlings' executable..."
95
cargo install --force --path .
96
97
-if [ -x "$(rustlings)" ]
+if ! [ -x "$(command -v rustlings)" ]
98
then
99
echo "WARNING: Please check that you have '~/.cargo/bin' in your PATH environment variable!"
100
fi
101
102
echo "All done! Run 'rustlings' to get started."
103
-
0 commit comments