diff options
author | Jakub Steiner <jimmac@gmail.com> | 2010-03-29 18:18:04 +0200 |
---|---|---|
committer | Jakub Steiner <jimmac@gmail.com> | 2010-03-29 18:18:24 +0200 |
commit | 0c99e060ca2dd3ba2719f5402eeb57880a87d98e (patch) | |
tree | 46bc07149f9afd87cab7ce3e541005a3e9861c1e /render-icon-theme.py | |
parent | 321201de8d69d804da4a85ab93e1a0d9eb0d99cd (diff) | |
download | adwaita-icon-theme-0c99e060ca2dd3ba2719f5402eeb57880a87d98e.tar.gz |
make sure dirs are created even if a parent is missing
Diffstat (limited to 'render-icon-theme.py')
-rwxr-xr-x | render-icon-theme.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render-icon-theme.py b/render-icon-theme.py index 75347c5df..4e486d55b 100755 --- a/render-icon-theme.py +++ b/render-icon-theme.py @@ -108,7 +108,7 @@ class ContentHandler(xml.sax.ContentHandler): dir = os.path.join("gnome", "%sx%s" % (width, height), self.context) outfile = os.path.join(dir, self.icon_name+'.png') if not os.path.exists(dir): - os.mkdir(dir) + os.makedirs(dir) # Do a time based check! if self.force or not os.path.exists(outfile): inkscape_render_rect(self.path, id, outfile) |