Commit 0df3fa04 authored by Just van Rossum's avatar Just van Rossum

small fix: don't depend on the exact location of PythonCGISlave within the Python tree. (jvr)

parent 0f3b7b75
......@@ -30,7 +30,9 @@ def buildcgiapplet():
# (there's no point in proceeding if we can't find it)
template = buildtools.findtemplate()
wrapper = os.path.join(sys.exec_prefix, ":Mac:Tools:CGI:PythonCGISlave.py")
wrapper = "PythonCGISlave.py"
if not os.path.exists("PythonCGISlave.py"):
wrapper = os.path.join(sys.exec_prefix, ":Mac:Tools:CGI", wrapper)
# Ask for source text if not specified in sys.argv[1:]
if not sys.argv[1:]:
......
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