mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
07.54.2008 2442740abbf13b1cd2361e00164a914fbfa12fd0
Fix for issue 3126 (Cannot run setup if unziped in directory with spaces in name)

Fix the script to be able to handle paths with spaces in the classpath.
1 files modified
4 ■■■■ changed files
opends/resource/bin/_script-util.sh 4 ●●●● patch | view | raw | blame | history
opends/resource/bin/_script-util.sh
@@ -145,8 +145,8 @@
# Configure the appropriate CLASSPATH.
set_classpath() {
  CLASSPATH=${INSTANCE_ROOT}/classes
  for JAR in ${INSTANCE_ROOT}/lib/*.jar
  CLASSPATH="${INSTANCE_ROOT}"/classes
  for JAR in "${INSTANCE_ROOT}"/lib/*.jar
  do
    CLASSPATH=${CLASSPATH}:${JAR}
  done