diff options
author | Anatoly Techtonik <techtonik@gmail.com> | 2011-04-12 12:30:49 (GMT) |
---|---|---|
committer | Anatoly Techtonik <techtonik@gmail.com> | 2011-04-12 12:30:49 (GMT) |
commit | d1de4c941d856eaa687eafe4f0537c0d16c6f7aa (patch) | |
tree | 932aeb2813ca77db594df32a4939204a80387e83 /src | |
parent | 2695971e550c4601a7243adb5907db3eb1900827 (diff) | |
download | SCons-d1de4c941d856eaa687eafe4f0537c0d16c6f7aa.zip SCons-d1de4c941d856eaa687eafe4f0537c0d16c6f7aa.tar.gz SCons-d1de4c941d856eaa687eafe4f0537c0d16c6f7aa.tar.bz2 |
setup.py: minor code comments
Diffstat (limited to 'src')
-rw-r--r-- | src/setup.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/setup.py b/src/setup.py index c745820..75fb4c9 100644 --- a/src/setup.py +++ b/src/setup.py @@ -23,7 +23,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import os -import os.path import stat import sys @@ -35,8 +34,8 @@ man_pages = [ 'scons-time.1', ] +# change to setup.py directory if it was executed from other dir (head, tail) = os.path.split(sys.argv[0]) - if head: os.chdir(head) sys.argv[0] = tail |