From c4319b10ade0e5fa30f3b6b7c02d9e81f6e14d54 Mon Sep 17 00:00:00 2001 From: goodale Date: Sun, 19 Sep 1999 20:20:10 +0000 Subject: Changed so that it will work under NT. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@971 17b73243-c579-4c4c-a9d2-2d5706c11dac --- lib/sbin/Runtest.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/sbin/Runtest.pl') diff --git a/lib/sbin/Runtest.pl b/lib/sbin/Runtest.pl index 949cf66c..1e499c24 100644 --- a/lib/sbin/Runtest.pl +++ b/lib/sbin/Runtest.pl @@ -36,6 +36,8 @@ else $current_directory = `pwd`; chop($current_directory); +$current_directory =~ s,^//([^/]+)/,$1:/,; + # Look to see if MPI is defined $extra = "$current_directory${sep}configs${sep}$config${sep}config-data${sep}cctk_extradefs.h"; @@ -173,7 +175,7 @@ sub runtest { } } - $cmd = "($command `pwd`$sep..$sep$executable ..$sep$inpf)"; + $cmd = "($command $current_directory$sep$executable ..$sep$inpf)"; chdir ($tsttop); -- cgit v1.2.3