mirror of https://github.com/borgbackup/borg.git
__file__ is now always an absolute path (3.4)
This commit is contained in:
parent
0be62d4233
commit
7c8bfe6681
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue