summaryrefslogtreecommitdiff
path: root/lib/sbin/Runtest.pl
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-09-19 20:20:10 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-09-19 20:20:10 +0000
commitc4319b10ade0e5fa30f3b6b7c02d9e81f6e14d54 (patch)
treef5c5367fca24ba78264b9996c23ee5c1c4dd7180 /lib/sbin/Runtest.pl
parent55df1c53cbcc4bd07a5b9477c587221da1a3af35 (diff)
Changed so that it will work under NT.
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@971 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/Runtest.pl')
-rw-r--r--lib/sbin/Runtest.pl4
1 files changed, 3 insertions, 1 deletions
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);