Fix getting cargo if shell is sh
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…
Reference in New Issue