Commit fcaf5c04 authored by Łukasz Nowak's avatar Łukasz Nowak

Be more compatible.

parent 5284491f
...@@ -44,6 +44,9 @@ class Recipe: ...@@ -44,6 +44,9 @@ class Recipe:
self.name) self.name)
self.destination = os.path.join(self.parts, self.options.get('filename', self.destination = os.path.join(self.parts, self.options.get('filename',
self.name)) self.name))
else:
# backward compatibility with other recipes -- expose location
options['location'] = self.destination
options['target'] = self.destination options['target'] = self.destination
def install(self): def install(self):
......
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