From 04a495032153f205563b581abd72f4a645359c1b Mon Sep 17 00:00:00 2001 From: Jack Miner <3ch01c@gmail.com> Date: Tue, 16 Oct 2018 10:20:36 -0700 Subject: [PATCH] normalize path parameters for os agnoticism and just because it's the right thing to do --- devel/mothballer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/devel/mothballer.py b/devel/mothballer.py index 7bb934d..19bd46d 100755 --- a/devel/mothballer.py +++ b/devel/mothballer.py @@ -109,5 +109,7 @@ if __name__ == '__main__': logging.basicConfig(level=logging.DEBUG) + outdir = os.path.abspath(args.outdir) for categorydir in args.categorydirs: - build_category(categorydir, args.outdir) + categorydir = os.path.abspath(categorydir) + build_category(categorydir, outdir)