Mistake in the run.sh using backticks instead of quotes when setting JAVA_HOME 84/1784/1
authorMoiz Raja <moraja@cisco.com>
Wed, 9 Oct 2013 22:08:56 +0000 (15:08 -0700)
committerMoiz Raja <moraja@cisco.com>
Wed, 9 Oct 2013 22:08:56 +0000 (15:08 -0700)
Change-Id: Iabe6474c54b01e5b5eabfd2e8e815638ad8190e9
Signed-off-by: Moiz Raja <moraja@cisco.com>
opendaylight/distribution/opendaylight/src/main/resources/run.sh

index 31bf3c6..58ead43 100755 (executable)
@@ -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