release 1.1.1 fix hsscript output

This commit is contained in:
Peter Hormanns 2017-12-23 18:35:43 +01:00
parent b35785093e
commit 43d542d63b
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>hsadmin-cli</artifactId>
<version>1.1.0</version>
<version>1.1.1</version>
<packaging>jar</packaging>
<name>HSAdmin-Cli</name>

View File

@ -1,5 +1,5 @@
#!/bin/bash
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/
getconf LONG_BIT | grep 32 && JAVA_HOME=/usr/lib/jvm/java-8-openjdk-i386/
getconf LONG_BIT | grep 32 >/dev/null && JAVA_HOME=/usr/lib/jvm/java-8-openjdk-i386/
JAVA=$JAVA_HOME/bin/java
exec $JAVA -jar /usr/local/lib/hostsharing/hsadmin/hsscript-full.jar "$@"