From 76e57e6fc5a2fad0ab87502f923edbd8ba70ff59 Mon Sep 17 00:00:00 2001 From: Anirudha Bose Date: Sat, 9 Aug 2014 23:03:21 +0530 Subject: [PATCH] Accept relative paths in --with-workdir switch --- interpreter/cling/tools/packaging/cpt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interpreter/cling/tools/packaging/cpt.py b/interpreter/cling/tools/packaging/cpt.py index 66bb02d526186..9ed3502f69bf0 100755 --- a/interpreter/cling/tools/packaging/cpt.py +++ b/interpreter/cling/tools/packaging/cpt.py @@ -1323,7 +1323,7 @@ def make_dmg(): # 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):