From 7b6412204f3ed497ec298f491404ca6eedf6d55d Mon Sep 17 00:00:00 2001 From: Moiz Raja Date: Wed, 9 Oct 2013 15:08:56 -0700 Subject: [PATCH] Mistake in the run.sh using backticks instead of quotes when setting JAVA_HOME Change-Id: Iabe6474c54b01e5b5eabfd2e8e815638ad8190e9 Signed-off-by: Moiz Raja --- .../distribution/opendaylight/src/main/resources/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendaylight/distribution/opendaylight/src/main/resources/run.sh b/opendaylight/distribution/opendaylight/src/main/resources/run.sh index 31bf3c6632..58ead43510 100755 --- a/opendaylight/distribution/opendaylight/src/main/resources/run.sh +++ b/opendaylight/distribution/opendaylight/src/main/resources/run.sh @@ -11,7 +11,7 @@ fi if [[ $platform == 'linux' ]]; then fullpath=`readlink -f $0` - [[ -z ${JAVA_HOME} ]] && [[ -x "/usr/lib/jvm/java-1.7.0" ]] && export JAVA_HOME=`/usr/lib/jvm/java-1.7.0`; + [[ -z ${JAVA_HOME} ]] && [[ -x "/usr/lib/jvm/java-1.7.0" ]] && export JAVA_HOME='/usr/lib/jvm/java-1.7.0'; elif [[ $platform == 'osx' ]]; then TARGET_FILE=$0 -- 2.36.6