Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37504916
en ru br
ALT Linux repositórios
S:19.8-alt4.1

Group :: Development/Python3
RPM: eric6

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: eric6-19.06-fix-install-dir.patch
Download


diff -ruN eric6-19.6-orig/install.py eric6-19.6/install.py
--- eric6-19.6-orig/install.py	2019-06-13 19:56:12.530281194 +0300
+++ eric6-19.6/install.py	2019-06-13 19:56:58.593612194 +0300
@@ -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]))
+            relpath = os.path.relpath(cfg[key], start="/") if cfg[key] else ""
+            cfg[key] = os.path.normpath(os.path.join(distDir, relpath))
     
     try:
         # Install the files
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009