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

jvergara
19.42.2008 2eb6cc2512cb55d1c5ea2292f6375ffade755e2f
refs
author jvergara <jvergara@localhost>
Tuesday, February 19, 2008 09:42 +0100
committer jvergara <jvergara@localhost>
Tuesday, February 19, 2008 09:42 +0100
commit2eb6cc2512cb55d1c5ea2292f6375ffade755e2f
tree f6a4c4e9f13b5d31ba52b5feffbd1ced114b4afa tree | zip | gz
parent 3853c52f9d456b918a0533638d986759d0c4a324 view | diff
Fix for issue 2969 (In some cases the arguments set for offline operations (import-ldif, export-ldif) are the ones of the online mode)

The problem comes because when we are dealing with scripts that can have both online and off-line modes we call _script-util to know whether we must run the script in online or off-line modes. This makes the environments variables to be set, so when we call the second time _script-util (to set the environment for the off-line mode) nothing is changed if the user specified not to overwrite the environment variables.

The fix consists on resetting the environment variables to its original state before calling _script-util for the second time.
2 files modified
25 ■■■■■ changed files
opendj-sdk/opends/resource/bin/_mixed-script.bat 12 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/bin/_mixed-script.sh 13 ●●●●● diff | view | raw | blame | history