diff options
author | Mariell Hoversholm <[email protected]> | 2021-03-16 19:31:27 +0100 |
---|---|---|
committer | Mariell Hoversholm <[email protected]> | 2021-03-16 19:31:27 +0100 |
commit | b7bfc81de4ba4201faf35486abdc07017dd19315 (patch) | |
tree | a3d445e83881ff8d3fba57bde18e1bc69452b212 /scripts | |
parent | aa3cd67b54f560951b696356554ae9dd4e58e027 (diff) | |
download | Paper-b7bfc81de4ba4201faf35486abdc07017dd19315.tar.gz Paper-b7bfc81de4ba4201faf35486abdc07017dd19315.zip |
Don't remove the .java
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 b9a7c50921..bab5462124 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;s/\.java$//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') function containsElement { local e for e in "${@:2}"; do |