Skip to content

Commit 194ccde

Browse files
committed
Merge branch 'wktui-252' into 'main'
fixing bug when handling Windows environment variables for token replacement See merge request weblogic-cloud/weblogic-deploy-tooling!1675
2 parents d40b445 + 9e9c23b commit 194ccde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/python/wlsdeploy/util/variables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def _substitute(text, variables, model_context, error_info, attribute_name=None)
308308
#
309309
env_var_name = str_helper.to_string(key)
310310
is_windows = System.getProperty('os.name').startswith('Windows')
311-
if is_windows and not env_helper.has_env(env_var_name) and env_var_name.has_env(env_var_name.upper()):
311+
if is_windows and not env_helper.has_env(env_var_name) and env_helper.has_env(env_var_name.upper()):
312312
env_var_name = env_var_name.upper()
313313

314314
if not env_helper.has_env(env_var_name):

0 commit comments

Comments
 (0)