install.py: added a patch provided by Guðjón Guðjónsson.

Sat, 03 Aug 2019 14:42:15 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 03 Aug 2019 14:42:15 +0200
changeset 7121
1d6f6aa6b18f
parent 7110
948994b4f045
child 7141
a479c75c6643

install.py: added a patch provided by Guðjón Guðjónsson.

scripts/install.py file | annotate | diff | comparison | revisions
--- a/scripts/install.py	Thu Aug 01 19:02:54 2019 +0200
+++ b/scripts/install.py	Sat Aug 03 14:42:15 2019 +0200
@@ -828,7 +828,8 @@
     # set install prefix, if not None
     if distDir:
         for key in list(cfg.keys()):
-            cfg[key] = os.path.normpath(os.path.join(distDir, cfg[key]))
+            cfg[key] = os.path.normpath(
+                os.path.join(distDir, cfg[key].lstrip(os.sep)))
     
     try:
         # Install the files

eric ide

mercurial