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

jvergara
02.16.2009 fd10db6b0cbd40d3803e466e5e8c53bd85de9d64
refs
author jvergara <jvergara@localhost>
Monday, November 2, 2009 19:16 +0100
committer jvergara <jvergara@localhost>
Monday, November 2, 2009 19:16 +0100
commitfd10db6b0cbd40d3803e466e5e8c53bd85de9d64
tree 5421afd6b6e7d9bb8daaa2c86dfb6690f3b22e63 tree | zip | gz
parent 1268994a2b31997f36eec618629e27cadfc9d16d 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
opends/resource/bin/_script-util.sh 16 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/configurator/CheckInstance.java 23 ●●●● diff | view | raw | blame | history