Merge "Upgrading Apache Tomcat Patch version from 7.0.32 to 7.0.53 for traditional...
authorDevin Avery <devin.avery@brocade.com>
Thu, 4 Sep 2014 16:17:31 +0000 (16:17 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 4 Sep 2014 16:17:31 +0000 (16:17 +0000)
opendaylight/distribution/opendaylight/src/main/resources/run.sh

index 13be2336b6db94304d944b78ba912530bee25c5f..b032469b7f1403d9a6f9bdcfc172a982ada2ac41 100755 (executable)
@@ -112,6 +112,7 @@ while true ; do
         -Xmx*) jvmMaxMemory="$1"; shift;;
         -D*) extraJVMOpts="${extraJVMOpts} $1"; shift;;
         -X*) extraJVMOpts="${extraJVMOpts} $1"; shift;;
+        -J*) extraJVMOpts="${extraJVMOpts} -$(echo "$1" | cut -d'J' -f2)"; shift;;
         -agentpath:*) agentPath="$1"; shift;;
         "") break ;;
         *) echo "Unknown option $1"; unknown_option=1; break ;;