mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
fix shell match to account for /usr/local for homebrew installs of zsh on macOS
This commit is contained in:
parent
9e682ed074
commit
e71f0a9776
1 changed files with 1 additions and 1 deletions
2
paper
2
paper
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# resolve shell-specifics
|
||||
case "$(echo "$SHELL" | sed 's|/usr||g')" in
|
||||
case "$(echo "$SHELL" | sed -E 's|/usr(/local)?||g')" in
|
||||
"/bin/zsh")
|
||||
RCPATH="$HOME/.zshrc"
|
||||
SOURCE="${BASH_SOURCE[0]:-${(%):-%N}}"
|
||||
|
|
Loading…
Reference in a new issue