small fix: don't depend on the exact location of PythonCGISlave within the Python tree. (jvr)
diff --git a/Mac/Tools/CGI/BuildCGIApplet.py b/Mac/Tools/CGI/BuildCGIApplet.py
index 29783c2..8c9a633 100644
--- a/Mac/Tools/CGI/BuildCGIApplet.py
+++ b/Mac/Tools/CGI/BuildCGIApplet.py
@@ -30,7 +30,9 @@
# (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:]: