Fix getting cargo if shell is sh

main
Buddy Sandidge 2 years ago
parent 10f9c6b91c
commit bd5445a411

@ -1,5 +1,5 @@
#!/usr/bin/env bash
if [[ -f "${HOME}/.cargo/env" ]]; then
if [ -f "${HOME}/.cargo/env" ]; then
. "${HOME}/.cargo/env" || exit 1
fi

Loading…
Cancel
Save