scripts/install.py

changeset 7121
1d6f6aa6b18f
parent 7039
73cb6384a71f
child 7141
a479c75c6643
--- 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