Store downloaded patches in %{_patchdir}.

This commit is contained in:
Chris Johns 2013-03-10 14:50:55 +11:00
parent 98e7a7b791
commit ce5e9911d9

View File

@ -270,7 +270,7 @@ class build:
# If not in the source builder package check the source directory. # If not in the source builder package check the source directory.
# #
if not path.exists(patch['local']): if not path.exists(patch['local']):
patch = self.parse_url(url, '_sourcedir') patch = self.parse_url(url, '_patchdir')
self.get_file(patch['url'], patch['local']) self.get_file(patch['url'], patch['local'])
if 'compressed' in patch: if 'compressed' in patch:
patch['script'] = patch['compressed'] + ' ' + patch['local'] patch['script'] = patch['compressed'] + ' ' + patch['local']