From 93ad913c6b7028d05236505e5a0ea53ee2b8eeef Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 24 Jul 2009 07:08:18 +0000 Subject: [PATCH] Oops, minor fix --- makepanda/makepanda.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index f8397e63f2..c1793660eb 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -1235,9 +1235,9 @@ def WriteConfigSettings(): if (PkgSkip("PLUGIN")==0): #FIXME: do this at runtime or so. if (sys.platform.startswith("win")): - plugin_config["P3D_PLUGIN_DOWNLOAD"] = "file://C:\\p3dstage" + plugin_config["P3D_PLUGIN_DOWNLOAD"] = "file://C:\\p3dstage/" else: - plugin_config["P3D_PLUGIN_DOWNLOAD"] = "file:///p3dstage" + plugin_config["P3D_PLUGIN_DOWNLOAD"] = "file:///p3dstage/" plugin_config["P3D_PLUGIN_LOGFILE1"] = "" plugin_config["P3D_PLUGIN_LOGFILE2"] = "" plugin_config["P3D_PLUGIN_P3D_PLUGIN"] = "" @@ -1265,7 +1265,6 @@ def WriteConfigSettings(): conf = "/* p3d_plugin_config.h. Generated automatically by makepanda.py */\n" for key in plugin_config.keys(): val = plugin_config[key] - if (val != 'UNDEF' and not val.endswith("/")): val += "/" if (val == 'UNDEF'): conf = conf + "#undef " + key + "\n" else: conf = conf + "#define " + key + " \"" + val.replace("\\", "\\\\") + "\"\n" del plugin_config[key]