You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2009/09/04 22:48:05 UTC

svn commit: r811543 - /ofbiz/trunk/debian/ofbiz-framework.ofbiz.init

Author: doogie
Date: Fri Sep  4 20:48:05 2009
New Revision: 811543

URL: http://svn.apache.org/viewvc?rev=811543&view=rev
Log:
Fix bashism.

Modified:
    ofbiz/trunk/debian/ofbiz-framework.ofbiz.init

Modified: ofbiz/trunk/debian/ofbiz-framework.ofbiz.init
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz-framework.ofbiz.init?rev=811543&r1=811542&r2=811543&view=diff
==============================================================================
--- ofbiz/trunk/debian/ofbiz-framework.ofbiz.init (original)
+++ ofbiz/trunk/debian/ofbiz-framework.ofbiz.init Fri Sep  4 20:48:05 2009
@@ -68,7 +68,7 @@
 	PROPS="$PROPS -Dofbiz.system.props=/etc/ofbiz/debconf.cfg"
 fi
 
-if [ "x$JAVA_HOME" == x ]; then
+if [ "x$JAVA_HOME" = x ]; then
 	if [ "x$JAVA_HOMES" != x ]; then
 		for possible in $JAVA_HOMES; do
 			if [ -e "$possible/bin/java" ]; then
@@ -77,7 +77,7 @@
 			fi
 		done
 	fi
-	if [ "x$JAVA_HOME" == x ]; then
+	if [ "x$JAVA_HOME" = x ]; then
 		log_failure_msg "Couldn't find a java."
 		if [ "x$JAVA_HOMES" != x ]; then
 			log_failure_msg "Tried $JAVA_HOMES"