From 7ffca4d1bcd1800aeecc08faa9e40a36402e6f4a Mon Sep 17 00:00:00 2001 From: Peter Slattery Date: Tue, 25 Oct 2022 01:21:11 -0700 Subject: [PATCH] Cleaned up build script output --- build/build.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/build/build.sh b/build/build.sh index 827f7b6..726605b 100755 --- a/build/build.sh +++ b/build/build.sh @@ -50,7 +50,7 @@ done if [ "${OPTS[0]}" == "-h" ] || [ "${OPTS[0]}" == "--help" ] then print_usage - exit 1 + exit 0 fi # -------------------------------------------- @@ -333,9 +333,9 @@ fi # Compile The Program printf "\nBeginning Compilation...\n" -pushd $OUT_PATH +pushdir $OUT_PATH -find . -name "*" -delete +find . -name "*" -delete > /dev/null if [[ -f ${HOOK_PREBUILD} ]]; then source "${HOOK_PREBUILD}" @@ -392,7 +392,7 @@ fi LINKER_ARGS="-o ${LINKER_OUTPUT} ${COMPILER_OUTPUT[@]} ${LINKER_FLAGS[@]} ${LINKER_LIBRARIES[@]}" printf "Linking...\n" -echo $LINKER $LINKER_ARGS +# echo $LINKER $LINKER_ARGS eval $LINKER $LINKER_ARGS if [ $? -eq 0 ]; then printf " Link: " @@ -408,4 +408,5 @@ fi popdir +printf "\n" exit 0 \ No newline at end of file