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 22@ rem **************************************************************************
33@ rem shared.cmd
44@ rem
5- @ rem Copyright (c) 2020, Oracle Corporation and/or its affiliates.
5+ @ rem Copyright (c) 2020, 2021, Oracle and/or its affiliates.
66@ rem Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
77@ rem
88@ rem NAME
@@ -127,22 +127,27 @@ GOTO :EOF
127127 SET WLST_PATH_DIR =
128128
129129 :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" (
131136 EXIT /B 100
132137 )
133138
134- IF " %1 " == " -oracle_home" (
139+ IF " %firstArg% " == " -oracle_home" (
135140 SET ORACLE_HOME_ARG = %2
136141 SHIFT
137142 GOTO arg_continue
138143 )
139144
140- IF " %1 " == " -use_encryption" (
145+ IF " %firstArg% " == " -use_encryption" (
141146 SET USE_ENCRYPTION = true
142147 GOTO arg_continue
143148 )
144149
145- IF " %1 " == " -wlst_path" (
150+ IF " %firstArg% " == " -wlst_path" (
146151 SET WLST_PATH_DIR = %2
147152 SHIFT
148153 GOTO arg_continue
You can’t perform that action at this time.
0 commit comments