Commit 0107e17d authored by Guido van Rossum's avatar Guido van Rossum

Make home absolute if it isn't already absolute. Don't change it if

it is already absolute; there may be a good reason.
parent 40f26cd5
......@@ -108,6 +108,8 @@ def main():
print "Usage: mkzeoinst.py home [port]"
sys.exit(2)
home = sys.argv[1]
if not os.path.isabs(home):
home = os.path.abspath(home)
if sys.argv[2:]:
port = int(sys.argv[2])
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment