Commit 22794cc8 authored by Jondy Zhao's avatar Jondy Zhao

Fix the wrong name 'path_filename'

parent 28f5da51
...@@ -302,7 +302,7 @@ class Recipe(object): ...@@ -302,7 +302,7 @@ class Recipe(object):
patch_filename, is_temp = self.download_file(patch) patch_filename, is_temp = self.download_file(patch)
self.run('%s %s < %s' % (patch_cmd, patch_options, patch_filename)) self.run('%s %s < %s' % (patch_cmd, patch_options, patch_filename))
if is_temp: 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: if 'pre-configure-hook' in self.options and len(self.options['pre-configure-hook'].strip()) > 0:
log.info('Executing pre-configure-hook') 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