#20 Expand relative paths for compsfile (Fixes #18)
Closed 4 years ago by alexi. Opened 4 years ago by alexi.
alexi/mash issue-18  into  master

file modified
+2 -1
@@ -59,7 +59,8 @@ 

              dist.outputdir = opts.outputdir

      if opts.compsfile != "":

          for dist in conf.distros:

-             dist.compsfile = opts.compsfile

+             dist.compsfile = os.path.realpath(

+                 os.path.expanduser(opts.compsfile))

      if opts.delta and opts.delta != []:

          for dist in conf.distros:

              dist.delta_dirs = opts.delta

Pull-Request has been closed by alexi

4 years ago
Metadata