Accept relative paths in --with-workdir switch

This commit is contained in:
Anirudha Bose 2014-08-09 23:03:21 +05:30 committed by sftnight
parent 5beb95df13
commit 3128048499

View File

@ -1323,7 +1323,7 @@ else:
# Global variables #
###############################################################################
workdir = os.path.expanduser(args['with_workdir'])
workdir = os.path.abspath(os.path.expanduser(args['with_workdir']))
# This is needed in Windows
if not os.path.isdir(workdir):