Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2025-01-07 05:40:11 +01:00
fix shell match to account for /usr/local for homebrew installs of zsh on macOS
Dieser Commit ist enthalten in:
Ursprung
fb0f8ba518
Commit
1b70427dfc
2
paper
2
paper
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# resolve shell-specifics
|
# resolve shell-specifics
|
||||||
case "$(echo "$SHELL" | sed 's|/usr||g')" in
|
case "$(echo "$SHELL" | sed -E 's|/usr(/local)?||g')" in
|
||||||
"/bin/zsh")
|
"/bin/zsh")
|
||||||
RCPATH="$HOME/.zshrc"
|
RCPATH="$HOME/.zshrc"
|
||||||
SOURCE="${BASH_SOURCE[0]:-${(%):-%N}}"
|
SOURCE="${BASH_SOURCE[0]:-${(%):-%N}}"
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren