3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-15 20:40:07 +01:00

Merge pull request #636 from electronicboy/paper-maczsh

paper tools - fix shell matching
Dieser Commit ist enthalten in:
Zach 2017-03-17 20:29:42 -05:00 committet von GitHub
Commit a30343c85e

2
paper
Datei anzeigen

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