summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-29 12:08:42 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-29 12:08:42 +0000
commit1993bb170d912993de4262ad9f21d1cc62b45aac (patch)
tree67c1f25f3b205e92279c1942b9830c7f7dda73d4 /bin
parent78458266ff3198258af7424a95df754a5aa14796 (diff)
downloadATCD-1993bb170d912993de4262ad9f21d1cc62b45aac.tar.gz
allow _ in -l and -m options
Diffstat (limited to 'bin')
-rwxr-xr-xbin/check_build_logs4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/check_build_logs b/bin/check_build_logs
index 8d2f519e586..a9bbccc80c7 100755
--- a/bin/check_build_logs
+++ b/bin/check_build_logs
@@ -29,7 +29,7 @@ $mail_recipients = '';
####
while ($#ARGV >= $[) {
if ($ARGV[0] eq '-l') {
- if ($ARGV[1] =~ /^[\da-zA-Z]+$/) {
+ if ($ARGV[1] =~ /^\w+$/) {
$log_directory = $ARGV[1];
shift;
} else {
@@ -37,7 +37,7 @@ while ($#ARGV >= $[) {
die $usage;
}
} elsif ($ARGV[0] eq '-m') {
- if ($ARGV[1] =~ /^[\da-zA-Z]+$/) {
+ if ($ARGV[1] =~ /^\w+$/) {
$mail_recipients = $ARGV[1];
shift;
} else {