Mistake in the run.sh using backticks instead of quotes when setting JAVA_HOME
[controller.git] / opendaylight / distribution / opendaylight / src / main / resources / run.sh
index 31bf3c6632158ecc532566c8275fa00e07d28800..58ead435103c24fd27d99f8d8f541b6135611027 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