From ada0337b826a9c1d20652b9bbe7c1e1497d49d15 Mon Sep 17 00:00:00 2001 From: Devin Avery Date: Mon, 15 Sep 2014 14:55:04 -0400 Subject: [PATCH] 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 --- .../src/main/resources/bin/setenv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.36.6