This commit is contained in:
Sotr
2018-05-22 22:23:29 +08:00
parent 2d0af61383
commit e4eb96bcdb

View File

@@ -26,8 +26,8 @@ fi
echo "[Akarin] Ready to build"
(
echo "[Akarin] Touch sources.."
cp -ru "$basedir/sources/src" "$paperbasedir/Paper-Server/"
cp -ru "$basedir/sources/pom.xml" "$paperbasedir/Paper-Server/"
\cp -rf "$basedir/sources/src" "$paperbasedir/Paper-Server/"
\cp -rf "$basedir/sources/pom.xml" "$paperbasedir/Paper-Server/"
cd "$paperbasedir"
if [ "$2" == "--fast" ] || [ "$3" == "--fast" ] || [ "$4" == "--fast" ]; then
@@ -39,7 +39,7 @@ echo "[Akarin] Ready to build"
minecraftversion=$(cat "$paperworkdir/BuildData/info.json" | grep minecraftVersion | cut -d '"' -f 4)
rawjar="$paperbasedir/Paper-Server/target/akarin-$minecraftversion.jar"
cp -ru "$rawjar" "$basedir/akarin-$minecraftversion.jar"
\cp -rf "$rawjar" "$basedir/akarin-$minecraftversion.jar"
echo ""
echo "[Akarin] Build successful"