summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-07-10 11:52:14 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-07-10 11:52:14 +0000
commit3026a72ed02d7e7451bc5ac8fb3f1743098649f7 (patch)
treeb17d8c7450eb364798a45ad20bbaaba7650f0f96 /lib
parentd6938dc131dbb2cecb17f810320d5f76873a5c75 (diff)
Fixed parsing of executable name when there is a - in the configuration.
Fixes: Cactus/735 git-svn-id: http://svn.cactuscode.org/flesh/trunk@2274 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib')
-rw-r--r--lib/sbin/Runtest.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sbin/Runtest.pl b/lib/sbin/Runtest.pl
index 35e67d69..c436b00b 100644
--- a/lib/sbin/Runtest.pl
+++ b/lib/sbin/Runtest.pl
@@ -66,11 +66,11 @@ if (-e "$defns")
open(DEFNS,"<$defns");
while(<DEFNS>)
{
- if (/EXE\s*=\s*(\w+)/)
+ if (/EXE\s*=\s*([\w-]+)/)
{
$defexename = $1;
}
- if (/EXEDIR\s*=\s*(\w+)/)
+ if (/EXEDIR\s*=\s*([\w-]+)/)
{
$defexedirname = $1;
}