summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Steiner <jimmac@gmail.com>2010-03-29 18:18:04 +0200
committerJakub Steiner <jimmac@gmail.com>2010-03-29 18:18:24 +0200
commit0c99e060ca2dd3ba2719f5402eeb57880a87d98e (patch)
tree46bc07149f9afd87cab7ce3e541005a3e9861c1e
parent321201de8d69d804da4a85ab93e1a0d9eb0d99cd (diff)
downloadadwaita-icon-theme-0c99e060ca2dd3ba2719f5402eeb57880a87d98e.tar.gz
make sure dirs are created even if a parent is missing
-rwxr-xr-xrender-icon-theme.py2
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)