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

Sort directories.

In case of complex structures sorting lowers possiblity of having children
before parent.
parent e80654e3
...@@ -42,7 +42,7 @@ class Recipe(GenericBaseRecipe): ...@@ -42,7 +42,7 @@ class Recipe(GenericBaseRecipe):
def install(self): def install(self):
for directory in self.directory.values(): for directory in sorted(self.directory.values()):
path = directory path = directory
if not os.path.exists(path): if not os.path.exists(path):
......
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