install-debugclients: fixed an issue causing cleanup to fail.

Sat, 20 Apr 2019 19:41:19 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 20 Apr 2019 19:41:19 +0200
changeset 6959
dfb8a57de154
parent 6956
dfd3b53be436
child 6960
1d4e02425869

install-debugclients: fixed an issue causing cleanup to fail.

scripts/install-debugclients.py file | annotate | diff | comparison | revisions
--- a/scripts/install-debugclients.py	Fri Apr 19 17:48:40 2019 +0200
+++ b/scripts/install-debugclients.py	Sat Apr 20 19:41:19 2019 +0200
@@ -293,7 +293,7 @@
     
     installFromSource = not os.path.isdir(sourceDir)
     if installFromSource:
-        sourceDir = os.path.dirname(__file__) or "."
+        sourceDir = os.path.abspath("..")
         eric6SourceDir = os.path.join(sourceDir, "eric6")
     
     # cleanup source if installing from source

eric ide

mercurial