forked from pool/opa-fmgui
d65a50ecad
OBS-URL: https://build.opensuse.org/request/show/436356 OBS-URL: https://build.opensuse.org/package/show/science:HPC/opa-fmgui?expand=0&rev=1
14 lines
573 B
Diff
14 lines
573 B
Diff
diff -urN opa-fmgui-orig/install/fmgui.sh opa-fmgui/install/fmgui.sh
|
|
--- opa-fmgui-orig/install/fmgui.sh 2016-09-12 08:01:52.027654361 -0400
|
|
+++ opa-fmgui/install/fmgui.sh 2016-09-12 08:04:05.636122357 -0400
|
|
@@ -7,7 +7,7 @@
|
|
if [ $DEBUG -eq 1 ]; then
|
|
echo Checking JVM $2
|
|
fi
|
|
-JVER=`$2 -version 2>&1 | grep "java version" | awk '{print substr($3, 2, 3);}' | sed -e 's;\.;0;g'`
|
|
+JVER=`$2 -version 2>&1 | grep "version" | awk '{print substr($3, 2, 3);}' | sed -e 's;\.;0;g'`
|
|
if [ $JVER ]; then
|
|
if [ $JVER -ge $JAVA_REQ ]; then
|
|
if [ $DEBUG -eq 1 ]; then
|
|
|