From: Devin Avery Date: Mon, 15 Sep 2014 18:55:04 +0000 (-0400) Subject: Bug 1892 - Karaf setenv should use '=' instead of '==' X-Git-Tag: release/helium~62^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=ada0337b826a9c1d20652b9bbe7c1e1497d49d15;ds=inline Bug 1892 - Karaf setenv should use '=' instead of '==' 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 --- diff --git a/opendaylight/distribution/opendaylight-karaf-resources/src/main/resources/bin/setenv b/opendaylight/distribution/opendaylight-karaf-resources/src/main/resources/bin/setenv index 4f240447b4..947c65f6bd 100755 --- a/opendaylight/distribution/opendaylight-karaf-resources/src/main/resources/bin/setenv +++ b/opendaylight/distribution/opendaylight-karaf-resources/src/main/resources/bin/setenv @@ -46,10 +46,10 @@ # 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 -if [ "x$JAVA_MAX_MEM" == "x" ]; then +if [ "x$JAVA_MAX_MEM" = "x" ]; then export JAVA_MAX_MEM="2048m" fi