From 28e46f6f5134eefabceacc4de6bfa1617e4372a7 Mon Sep 17 00:00:00 2001 From: brent s Date: Fri, 15 Sep 2017 09:19:14 -0400 Subject: [PATCH] fuckING --- arch/repoclone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/repoclone.py b/arch/repoclone.py index 7344fa5..bf40899 100755 --- a/arch/repoclone.py +++ b/arch/repoclone.py @@ -33,7 +33,7 @@ def sync(args): if args['bwlimit'] >= 1: opts.insert(10, '--bwlimit=' + str(args['bwlimit'])) # limit socket I/O bandwidth for k in ('destination', 'logfile', 'lockfile'): - os.makedirs(args[k], exist_ok = True) + os.makedirs(os.path.dirname(args[k]), exist_ok = True) paths = os.environ['PATH'].split(':') rsync = '/usr/bin/rsync' # set the default for p in paths: