Fix getting cargo if shell is sh

This commit is contained in:
Buddy Sandidge 2023-01-19 15:44:53 -08:00
parent 10f9c6b91c
commit bd5445a411

View File

@ -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