From 8dcb34fe2e8021463da7f497b1a0e0e654daf357 Mon Sep 17 00:00:00 2001 From: Bud Gidiere Date: Thu, 16 Jul 2020 22:05:44 -0500 Subject: [PATCH] fix? --- yapfa | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/yapfa b/yapfa index 1f356562..2849c229 100755 --- a/yapfa +++ b/yapfa @@ -35,16 +35,17 @@ case "$1" in ;; "b" | "bu" | "build" | "install") ( - basedir - $mvncmd -N install surefire-report:report - cd ${FORK_NAME}-API - $mvncmd -source $JAVA_VERSION -target $JAVA_VERSION -e clean install && (cd ../Tuinity/Paper/Paper-MojangAPI && $mvncmd -source $JAVA_VERSION -target $JAVA_VERSION -e clean install) && cd ../${FORK_NAME}-Server && $mvncmd -source $JAVA_VERSION -target $JAVA_VERSION -e clean install surefire-report:report + echo "$JAVA_VERSION" + basedir + $mvncmd -N install surefire-report:report + cd ${FORK_NAME}-API + $mvncmd -source "$JAVA_VERSION" -target "$JAVA_VERSION" -e clean install && (cd ../Tuinity/Paper/Paper-MojangAPI && $mvncmd -source "$JAVA_VERSION" -target "$JAVA_VERSION" -e clean install) && cd ../${FORK_NAME}-Server && $mvncmd -source "$JAVA_VERSION" -target "$JAVA_VERSION" -e clean install surefire-report:report ) || failed=1 ;; "j" | "launcher" | "jar" | "paperclip") ( - basedir - $scriptdir/installLauncher.sh "$basedir" + basedir + $scriptdir/installLauncher.sh "$basedir" ) || failed=1 ;; "u" | "up" | "upstream" | "update") @@ -73,6 +74,7 @@ case "$1" in ;; "f" | "fu" | "full" | "fullbuild") ( + echo "$JAVA_VERSION" basedir $scriptdir/updateUpstream.sh "$basedir" || exit 1 set -e @@ -80,7 +82,7 @@ case "$1" in basedir $mvncmd -N install surefire-report:report cd ${FORK_NAME}-API - $mvncmd -source $JAVA_VERSION -target $JAVA_VERSION -e clean install && (cd ../Tuinity/Paper/Paper-MojangAPI && $mvncmd -source $JAVA_VERSION -target $JAVA_VERSION -e clean install) && cd ../${FORK_NAME}-Server && $mvncmd -source $JAVA_VERSION -target $JAVA_VERSION -e clean install surefire-report:report + $mvncmd -source "$JAVA_VERSION" -target "$JAVA_VERSION" -e clean install && (cd ../Tuinity/Paper/Paper-MojangAPI && $mvncmd -source "$JAVA_VERSION" -target "$JAVA_VERSION" -e clean install) && cd ../${FORK_NAME}-Server && $mvncmd -source "$JAVA_VERSION" -target "$JAVA_VERSION" -e clean install surefire-report:report ) || failed=1 ;; "e" | "edit")