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

jvergara
02.16.2009 8f01668d5cb0b62e1d6ace8660ba32b445dd978a
refs
author jvergara <jvergara@localhost>
Monday, November 2, 2009 19:16 +0100
committer jvergara <jvergara@localhost>
Monday, November 2, 2009 19:16 +0100
commit8f01668d5cb0b62e1d6ace8660ba32b445dd978a
tree dcd22bd7d39d513d8b10efac5862cad637558d61 tree | zip | gz
parent add635dc81b302455d1291c7a599ba15204e4fcf view | diff
Fix for issue 4332 (Tools fail when instance path contains whitespace)
The problem is in the code in charge of checking the install and instance paths and contents. There are issues both in the scripts and in the code of org.opends.server.tools.configurator.CheckInstance. Using quotes fixes the issue in the script and using an array of String instead of a single command-line to launch the "ls" process.

Apart from that some error messages have also been fixed.
2 files modified
39 ■■■■■ changed files
opendj-sdk/opends/resource/bin/_script-util.sh 16 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/configurator/CheckInstance.java 23 ●●●● diff | view | raw | blame | history