jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r1815177 - /jackrabbit/commons/filevault/trunk/vault-cli/src/main/appassembler/unix-template.sh
Date Tue, 14 Nov 2017 01:50:58 GMT
Author: tripod
Date: Tue Nov 14 01:50:57 2017
New Revision: 1815177

URL: http://svn.apache.org/viewvc?rev=1815177&view=rev
Log:
JCRVLT-184 vlt shell script prints out error when using openjdk

Modified:
    jackrabbit/commons/filevault/trunk/vault-cli/src/main/appassembler/unix-template.sh

Modified: jackrabbit/commons/filevault/trunk/vault-cli/src/main/appassembler/unix-template.sh
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-cli/src/main/appassembler/unix-template.sh?rev=1815177&r1=1815176&r2=1815177&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-cli/src/main/appassembler/unix-template.sh (original)
+++ jackrabbit/commons/filevault/trunk/vault-cli/src/main/appassembler/unix-template.sh Tue
Nov 14 01:50:57 2017
@@ -121,7 +121,7 @@ if [ -n "$COLS" ]; then
     EXTRA_JVM_ARGUMENTS="$EXTRA_JVM_ARGUMENTS -Denv.term.width=${COLS}"
 fi
 
-JAVA_VER=$($JAVACMD -version 2>&1 | sed 's/java version "\(.*\)\.\(.*\)\..*"/\1\2/;
1q')
+JAVA_VER=$($JAVACMD -version 2>&1 | sed 's/.*version "\(.*\)\.\(.*\)\..*"/\1\2/; 1q')
 
 if [ "$JAVA_VER" -lt 18 ]; then
     EXTRA_JVM_ARGUMENTS="$EXTRA_JVM_ARGUMENTS -XX:PermSize=128m -XX:-UseGCOverheadLimit"



Mime
View raw message