mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-26 04:25:39 +01:00
Remove some old debug messages from scripts (#241)
* Update applyUpstream.sh * Update importSources.sh
This commit is contained in:
parent
2c55264dba
commit
b172cd842f
@ -26,7 +26,7 @@ for D in ${searchtxts[@]}; do
|
|||||||
dnoslashlower="${dnoslash,,}"
|
dnoslashlower="${dnoslash,,}"
|
||||||
if [ $dnoslashlower != "api" ]; then
|
if [ $dnoslashlower != "api" ]; then
|
||||||
echo "$"
|
echo "$"
|
||||||
echo "Import new introduced NMS files.. test"
|
echo "Import new introduced NMS files.."
|
||||||
$scriptdir/importSources.sh $1 $2 || exit 1
|
$scriptdir/importSources.sh $1 $2 || exit 1
|
||||||
fi
|
fi
|
||||||
for filename in $1/patches/$2/$dnoslashlower/*.patch; do
|
for filename in $1/patches/$2/$dnoslashlower/*.patch; do
|
||||||
|
@ -92,16 +92,13 @@ function importLibraryToPaperWorkspace() {
|
|||||||
|
|
||||||
if [[ $forkname != "Yatopia" ]]; then
|
if [[ $forkname != "Yatopia" ]]; then
|
||||||
if [[ $forkname != null ]]; then
|
if [[ $forkname != null ]]; then
|
||||||
echo "test: $forkname == Purpur"
|
|
||||||
patchedFiles=$(cat patches/$forkname/server/* | grep "+++ b/src/main/java/net/minecraft/server/" | sort | uniq | sed 's/\+\+\+ b\/src\/main\/java\/net\/minecraft\/server\///g' | sed 's/.java//g')
|
patchedFiles=$(cat patches/$forkname/server/* | grep "+++ b/src/main/java/net/minecraft/server/" | sort | uniq | sed 's/\+\+\+ b\/src\/main\/java\/net\/minecraft\/server\///g' | sed 's/.java//g')
|
||||||
patchedFilesNonNMS=$(cat patches/$forkname/server/* | grep "create mode " | grep -Po "src/main/java/net/minecraft/server/(.*?).java" | sort | uniq | sed 's/src\/main\/java\/net\/minecraft\/server\///g' | sed 's/.java//g')
|
patchedFilesNonNMS=$(cat patches/$forkname/server/* | grep "create mode " | grep -Po "src/main/java/net/minecraft/server/(.*?).java" | sort | uniq | sed 's/src\/main\/java\/net\/minecraft\/server\///g' | sed 's/.java//g')
|
||||||
else
|
else
|
||||||
echo "test: $forkname == Yatopia"
|
|
||||||
patchedFiles=$(cat patches/server/* | grep "+++ b/src/main/java/net/minecraft/server/" | sort | uniq | sed 's/\+\+\+ b\/src\/main\/java\/net\/minecraft\/server\///g' | sed 's/.java//g')
|
patchedFiles=$(cat patches/server/* | grep "+++ b/src/main/java/net/minecraft/server/" | sort | uniq | sed 's/\+\+\+ b\/src\/main\/java\/net\/minecraft\/server\///g' | sed 's/.java//g')
|
||||||
patchedFilesNonNMS=$(cat patches/server/* | grep "create mode " | grep -Po "src/main/java/net/minecraft/server/(.*?).java" | sort | uniq | sed 's/src\/main\/java\/net\/minecraft\/server\///g' | sed 's/.java//g')
|
patchedFilesNonNMS=$(cat patches/server/* | grep "create mode " | grep -Po "src/main/java/net/minecraft/server/(.*?).java" | sort | uniq | sed 's/src\/main\/java\/net\/minecraft\/server\///g' | sed 's/.java//g')
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "test: $forkname == Yatopia"
|
|
||||||
patchedFiles=$(cat patches/server/* | grep "+++ b/src/main/java/net/minecraft/server/" | sort | uniq | sed 's/\+\+\+ b\/src\/main\/java\/net\/minecraft\/server\///g' | sed 's/.java//g')
|
patchedFiles=$(cat patches/server/* | grep "+++ b/src/main/java/net/minecraft/server/" | sort | uniq | sed 's/\+\+\+ b\/src\/main\/java\/net\/minecraft\/server\///g' | sed 's/.java//g')
|
||||||
patchedFilesNonNMS=$(cat patches/server/* | grep "create mode " | grep -Po "src/main/java/net/minecraft/server/(.*?).java" | sort | uniq | sed 's/src\/main\/java\/net\/minecraft\/server\///g' | sed 's/.java//g')
|
patchedFilesNonNMS=$(cat patches/server/* | grep "create mode " | grep -Po "src/main/java/net/minecraft/server/(.*?).java" | sort | uniq | sed 's/src\/main\/java\/net\/minecraft\/server\///g' | sed 's/.java//g')
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user