Bug 1892 - Karaf setenv should use '=' instead of '==' 05/11205/3
authorDevin Avery <devin.avery@brocade.com>
Mon, 15 Sep 2014 18:55:04 +0000 (14:55 -0400)
committerDevin Avery <devin.avery@brocade.com>
Mon, 15 Sep 2014 19:36:50 +0000 (19:36 +0000)
Brings us inline with what hte karaf scripts do and therefore
both karaf and set env script will be compatible.

Change-Id: I98b1e82080b64d785801a6b3f2953ac95dd226be
Signed-off-by: Devin Avery <devin.avery@brocade.com>
opendaylight/distribution/opendaylight-karaf-resources/src/main/resources/bin/setenv

index 4f24044..947c65f 100755 (executable)
 # export KARAF_ETC  # Karaf etc  folder
 # export KARAF_OPTS # Additional available Karaf options
 # export KARAF_DEBUG # Enable debug mode
 # export KARAF_ETC  # Karaf etc  folder
 # export KARAF_OPTS # Additional available Karaf options
 # export KARAF_DEBUG # Enable debug mode
-if [ "x$JAVA_MAX_PERM_MEM" == "x" ]; then
+if [ "x$JAVA_MAX_PERM_MEM" = "x" ]; then
     export JAVA_MAX_PERM_MEM="512m"
 fi
     export JAVA_MAX_PERM_MEM="512m"
 fi
-if [ "x$JAVA_MAX_MEM" == "x" ]; then
+if [ "x$JAVA_MAX_MEM" = "x" ]; then
     export JAVA_MAX_MEM="2048m"
 fi
 
     export JAVA_MAX_MEM="2048m"
 fi