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 4f240447b44171475a3049db94a9e4d65705a1f3..947c65f6bd175a46f8c633d17d7bb305558438a7 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