From 00ff28fa0f7d419631b27439406384b2e0e6b5ce Mon Sep 17 00:00:00 2001 From: Craig Dowell Date: Mon, 28 Sep 2009 17:18:12 -0700 Subject: [PATCH] Windows needs entire path --- test.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test.py b/test.py index 76c11b48a..b9f7fc484 100755 --- a/test.py +++ b/test.py @@ -329,20 +329,23 @@ def read_waf_config(): def make_library_path(): global LIBRARY_PATH - LIBRARY_PATH = "LD_LIBRARY_PATH='" + LIBRARY_PATH = "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:'" if sys.platform == "darwin": LIBRARY_PATH = "DYLD_LIBRARY_PATH='" elif sys.platform == "win32": - LIBRARY_PATH = "PATH='" + LIBRARY_PATH = "PATH=$PATH:'" elif sys.platform == "cygwin": - LIBRARY_PATH = "PATH='" + LIBRARY_PATH = "PATH=$PATH:'" for path in NS3_MODULE_PATH: LIBRARY_PATH = LIBRARY_PATH + path + ":" LIBRARY_PATH = LIBRARY_PATH + "'" + if options.verbose: + print "LIBRARY_PATH == %s" % LIBRARY_PATH + def run_job_synchronously(shell_command, directory): cmd = "%s %s/%s/%s" % (LIBRARY_PATH, NS3_BUILDDIR, NS3_ACTIVE_VARIANT, shell_command) if options.verbose: