diff options
author | Mariell Hoversholm <[email protected]> | 2021-03-16 19:34:40 +0100 |
---|---|---|
committer | Mariell Hoversholm <[email protected]> | 2021-03-18 18:03:22 +0100 |
commit | 743c6533c3d18456bdb72b103cb3299fde873e6e (patch) | |
tree | d766a79bec8190335c628ff4faae2ed54fe563dd /scripts | |
parent | 376d7b0975c259d7a8739b179cf06105db81a2f1 (diff) | |
download | Paper-743c6533c3d18456bdb72b103cb3299fde873e6e.tar.gz Paper-743c6533c3d18456bdb72b103cb3299fde873e6e.zip |
Replace ** with * (BSD/macOS)
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/importmcdev.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/importmcdev.sh b/scripts/importmcdev.sh index bab5462124..94de2cdb2e 100755 --- a/scripts/importmcdev.sh +++ b/scripts/importmcdev.sh @@ -63,7 +63,7 @@ function importLibrary { files=$(cat "$basedir/Spigot-Server-Patches/"* | grep "+++ b/src/main/java/net/minecraft/" | sort | uniq | sed 's/\+\+\+ b\/src\/main\/java\/net\/minecraft\///g') -nonnms=$(grep -R "new file mode" -B 1 "$basedir/Spigot-Server-Patches/" | grep -v "new file mode" | grep -oE "net\/minecraft\/**\/.*.java" | sed 's/.*\/net\/minecraft\///g') +nonnms=$(grep -R "new file mode" -B 1 "$basedir/Spigot-Server-Patches/" | grep -v "new file mode" | grep -oE --color=none "net\/minecraft\/*\/.*.java" | sed 's/.*\/net\/minecraft\///g') function containsElement { local e for e in "${@:2}"; do |