fix: POSIX compatibility case written incorrectly

This commit is contained in:
2025-11-19 09:32:07 +01:00
parent a0b972d106
commit 3555219aa1
2 changed files with 4 additions and 2 deletions

View File

@@ -31,7 +31,8 @@ export PATH="$PATH:$VCPKG_ROOT"
# if executing interactively
# execute .bashrc in the current login context
case $- in
*i*) return ;;
*i*) ;;
*) return ;;
esac
[ -z "${PS1-}" ] && return
[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"

View File

@@ -6,7 +6,8 @@
#
case $- in
*i*) return ;;
*i*) ;;
*) return ;;
esac
[ -z "${PS1-}" ] && return