Fixed an issue in the install script.

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 23 Feb 2012 16:15:09 +0100
changeset 1662
dadf3f4ee800
parent 1661
bfc2ea19b08f
child 1664
863114db258e

Fixed an issue in the install script.

install.py file | annotate | diff | comparison | revisions
--- a/install.py	Thu Feb 23 16:06:26 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