Fixed an issue in the install script. 5_2_x

Thu, 23 Feb 2012 16:15:09 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 23 Feb 2012 16:15:09 +0100
branch
5_2_x
changeset 1663
1089e1167e7c
parent 1660
57f2bd52deb7
child 1668
215353ac1a0c

Fixed an issue in the install script.

install.py file | annotate | diff | comparison | revisions
--- a/install.py	Thu Feb 23 14:57:49 2012 +0100
+++ b/install.py	Thu Feb 23 16:15:09 2012 +0100
@@ -929,7 +929,8 @@
     
     progName = os.path.basename(argv[0])
     
-    os.chdir(os.path.dirname(argv[0]))
+    if os.path.dirname(argv[0]):
+      os.chdir(os.path.dirname(argv[0]))
 
     initGlobals()
 

eric ide

mercurial