Merge "Bug 1892 - Karaf setenv should use '=' instead of '=='"
authorTony Tkacik <ttkacik@cisco.com>
Tue, 16 Sep 2014 12:45:12 +0000 (12:45 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 16 Sep 2014 12:45:12 +0000 (12:45 +0000)
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
-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