scripts/install.py

branch
eric7
changeset 8476
87c0b6e6e118
parent 8475
f1f7646e8e24
child 8501
7b5f10581c35
--- a/scripts/install.py	Sun Jul 25 12:26:07 2021 +0200
+++ b/scripts/install.py	Sun Jul 25 12:30:57 2021 +0200
@@ -1764,7 +1764,7 @@
         localHg = os.path.join(sys.exec_prefix, "bin", "hg")
     for hg in (localHg, "hg"):
         with contextlib.suppress(OSError, subprocess.CalledProcessError):
-            hgOut = subprocess.check_output(["hg", "identify", "-i"])   # secok
+            hgOut = subprocess.check_output([hg, "identify", "-i"])   # secok
             hgOut = hgOut.decode()
             if hgOut:
                 break

eric ide

mercurial