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

jvergara
19.42.2008 e7e6df7896a5454f8a30d021d95de7e536191347
refs
author jvergara <jvergara@localhost>
Tuesday, February 19, 2008 09:42 +0100
committer jvergara <jvergara@localhost>
Tuesday, February 19, 2008 09:42 +0100
commite7e6df7896a5454f8a30d021d95de7e536191347
tree 8ac600bbe3e4dd006eb893191a694e2e3d07a4f7 tree | zip | gz
parent 0c06828a3b22ca3792529eca482cfeea52292cb2 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
opends/resource/bin/_mixed-script.bat 12 ●●●●● diff | view | raw | blame | history
opends/resource/bin/_mixed-script.sh 13 ●●●●● diff | view | raw | blame | history