From 7c8bfe6681866781872f48fb5fd7d3478fce184b Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Tue, 15 Dec 2015 01:25:25 +0100 Subject: [PATCH] __file__ is now always an absolute path (3.4) --- borg/testsuite/archiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borg/testsuite/archiver.py b/borg/testsuite/archiver.py index 6bf2f635b..fae8a46fd 100644 --- a/borg/testsuite/archiver.py +++ b/borg/testsuite/archiver.py @@ -34,7 +34,7 @@ except ImportError: has_lchflags = hasattr(os, 'lchflags') -src_dir = os.path.join(os.getcwd(), os.path.dirname(__file__), '..') +src_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) def exec_cmd(*args, archiver=None, fork=False, exe=None, **kw):