File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 2
2
@ rem **************************************************************************
3
3
@ rem shared.cmd
4
4
@ rem
5
- @ rem Copyright (c) 2020, Oracle Corporation and/or its affiliates.
5
+ @ rem Copyright (c) 2020, 2021, Oracle and/or its affiliates.
6
6
@ rem Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
7
7
@ rem
8
8
@ rem NAME
@@ -127,22 +127,27 @@ GOTO :EOF
127
127
SET WLST_PATH_DIR =
128
128
129
129
:arg_loop
130
- IF " %1 " == " -help" (
130
+ set firstArg = %1
131
+
132
+ @ REM remove any double quotes (replace with empty string)
133
+ set firstArg = %firstArg:" =%
134
+
135
+ IF " %firstArg% " == " -help" (
131
136
EXIT /B 100
132
137
)
133
138
134
- IF " %1 " == " -oracle_home" (
139
+ IF " %firstArg% " == " -oracle_home" (
135
140
SET ORACLE_HOME_ARG = %2
136
141
SHIFT
137
142
GOTO arg_continue
138
143
)
139
144
140
- IF " %1 " == " -use_encryption" (
145
+ IF " %firstArg% " == " -use_encryption" (
141
146
SET USE_ENCRYPTION = true
142
147
GOTO arg_continue
143
148
)
144
149
145
- IF " %1 " == " -wlst_path" (
150
+ IF " %firstArg% " == " -wlst_path" (
146
151
SET WLST_PATH_DIR = %2
147
152
SHIFT
148
153
GOTO arg_continue
You can’t perform that action at this time.
0 commit comments