File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ def __init__(
4747 """
4848 self ._lua_config_script = os .path .abspath (lua_config_script )
4949 self ._export_vars = export_vars or []
50- self .pre_script = pre_script
51- self .post_script = post_script
50+ self ._pre_script = pre_script
51+ self ._post_script = post_script
5252 self .extra_strings = extra_strings or []
5353 self .work_dir = work_dir or os .path .dirname (self ._lua_config_script )
5454 self .temp_dir = temp_dir
@@ -234,11 +234,11 @@ def _run_lua_loader(self):
234234 for var in self ._export_vars :
235235 cmd .extend (["-e" , var ])
236236 # Add pre script
237- if self .pre_script :
238- cmd .extend (["-pre" , self .pre_script ])
237+ if self ._pre_script :
238+ cmd .extend (["-pre" , self ._pre_script ])
239239 # Add post script
240- if self .post_script :
241- cmd .extend (["-post" , self .post_script ])
240+ if self ._post_script :
241+ cmd .extend (["-post" , self ._post_script ])
242242 # Add extra strings
243243 for extra in self .extra_strings :
244244 cmd .extend (["-ext" , extra ])
You can’t perform that action at this time.
0 commit comments