Commit f9173fc3 authored by Jondy Zhao's avatar Jondy Zhao

Fix wrong name 'path_filename'

parent c483ee24
......@@ -308,7 +308,7 @@ class Recipe(object):
patch_filename, is_temp = self.download_file(patch)
self.run('%s %s < %s' % (patch_cmd, patch_options, patch_filename))
if is_temp:
os.remove(path_filename)
os.remove(patch_filename)
if 'pre-configure-hook' in self.options and len(self.options['pre-configure-hook'].strip()) > 0:
log.info('Executing pre-configure-hook')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment