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

jvergara
07.54.2008 f5d769e9b67335c3fdc3e257118f9327e96172a6
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
opendj-sdk/opends/resource/bin/_script-util.sh 4 ●●●● patch | view | raw | blame | history
opendj-sdk/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