From cec9b0d75a00d5d66c68fd32fb9d0fcc07673d4c Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Sat, 21 May 2022 13:16:25 -0500 Subject: [PATCH] Include arguments for generated jar Co-authored-by: sigonasr2 --- Java/scripts/jar.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Java/scripts/jar.sh b/Java/scripts/jar.sh index 441b43b..ed70855 100755 --- a/Java/scripts/jar.sh +++ b/Java/scripts/jar.sh @@ -10,7 +10,7 @@ ORIGINAL_LOC=$(pwd) cd ${OUT_DIR} jar cfm ${PROJECT_NAME}.jar ${ORIGINAL_LOC}/manifest sig printf "\n\n\nRunning Program...\n\n" -java -jar ${PROJECT_NAME}.jar +java -jar ${PROJECT_NAME}.jar "$@" mv ${PROJECT_NAME}.jar ${ORIGINAL_LOC} cd .. -./scripts/clean.sh \ No newline at end of file +./scripts/clean.sh