diff options
author | Jacek Konieczny <jajcus@jajcus.net> | 2006-08-18 16:14:28 +0400 |
---|---|---|
committer | Jacek Konieczny <jajcus@jajcus.net> | 2006-08-18 16:14:28 +0400 |
commit | 0fd43375f84740231e449ad166bb2e787a98d7a9 (patch) | |
tree | 05ab75ff46a33caac622e73c8ab4a8faf939f938 /configure.py | |
parent | 4d7fa399264d3278102c5b953e2335bfcb6493f7 (diff) |
- fix error occuring when executing via 'python configure.py'
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.py b/configure.py index c811eec..d6bf578 100755 --- a/configure.py +++ b/configure.py @@ -6,8 +6,10 @@ import os cfg_python_only = False - -os.chdir(os.path.dirname(__file__)) +d = os.path.dirname(__file__) +if not d: + d = "." +os.chdir(d) print "Checking for python version...", sys.version.replace("\n", " ") if sys.hexversion < 0x02030000: |