From b8522a2b73cddfca0526877b07a91a44bfbffa80 Mon Sep 17 00:00:00 2001 From: Karsten Thoms Date: Tue, 10 Dec 2019 11:39:42 +0100 Subject: [PATCH] [#100] Replace tabs by spaces The template contained a mixture of spaces and tabs. Removed the tabs and replaced them by spaces. Also cleaned up trailing whitespace. Signed-off-by: Karsten Thoms --- .../appassembler/daemon/script/unixBinTemplate | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/appassembler-maven-plugin/src/main/resources/org/codehaus/mojo/appassembler/daemon/script/unixBinTemplate b/appassembler-maven-plugin/src/main/resources/org/codehaus/mojo/appassembler/daemon/script/unixBinTemplate index b1c61626..b683025b 100644 --- a/appassembler-maven-plugin/src/main/resources/org/codehaus/mojo/appassembler/daemon/script/unixBinTemplate +++ b/appassembler-maven-plugin/src/main/resources/org/codehaus/mojo/appassembler/daemon/script/unixBinTemplate @@ -32,13 +32,13 @@ case "`uname`" in else echo "Using Java version: $JAVA_VERSION" fi - if [ -z "$JAVA_HOME" ]; then - if [ -x "/usr/libexec/java_home" ]; then - JAVA_HOME=`/usr/libexec/java_home` - else - JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home - fi - fi + if [ -z "$JAVA_HOME" ]; then + if [ -x "/usr/libexec/java_home" ]; then + JAVA_HOME=`/usr/libexec/java_home` + else + JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home + fi + fi ;; esac