diff options
author | Mariell Hoversholm <[email protected]> | 2021-03-16 19:41:20 +0100 |
---|---|---|
committer | Mariell Hoversholm <[email protected]> | 2021-03-18 18:03:22 +0100 |
commit | 6870db6137db748d22bdc98332a12d2e95863781 (patch) | |
tree | a3511f93915baed8490e394ef04a9b51dd0f69a0 /scripts | |
parent | 743c6533c3d18456bdb72b103cb3299fde873e6e (diff) | |
download | Paper-6870db6137db748d22bdc98332a12d2e95863781.tar.gz Paper-6870db6137db748d22bdc98332a12d2e95863781.zip |
script & POM fix
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 94de2cdb2e..51bc3a24fd 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 --color=none "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 |