output directory (--dir) can now cope with absolute path...

This commit is contained in:
Philip Eisenlohr 2012-01-20 19:53:56 +00:00
parent 4980f57fd5
commit 7869379d38
1 changed files with 1 additions and 1 deletions

View File

@ -986,7 +986,7 @@ groups.sort(key = sortKeys)
# --------------------------- create output dir --------------------------------
dirname = os.path.abspath(os.path.dirname(filename))+os.sep+options.dir
dirname = os.path.abspath(os.path.join(os.path.dirname(filename),options.dir))
if not os.path.isdir(dirname):
os.mkdir(dirname,0755)