diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-29 12:08:42 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-29 12:08:42 +0000 |
commit | 1993bb170d912993de4262ad9f21d1cc62b45aac (patch) | |
tree | 67c1f25f3b205e92279c1942b9830c7f7dda73d4 /bin | |
parent | 78458266ff3198258af7424a95df754a5aa14796 (diff) | |
download | ATCD-1993bb170d912993de4262ad9f21d1cc62b45aac.tar.gz |
allow _ in -l and -m options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/check_build_logs | 4 |
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 { |