]> git.pld-linux.org Git - packages/demarc.git/blob - demarc-whois-fix.patch
- drop obsolete and outdated manual inclusion of rpm macros
[packages/demarc.git] / demarc-whois-fix.patch
1 diff -Nur demarc-1.05-RC1.orig/cgi/demarc demarc-1.05-RC1/cgi/demarc
2 --- demarc-1.05-RC1.orig/cgi/demarc     Fri Sep 28 20:05:57 2001
3 +++ demarc-1.05-RC1/cgi/demarc  Fri Sep 28 20:14:11 2001
4 @@ -2789,9 +2789,9 @@
5  
6  ##########
7  # Check to see which syntax the whois command should take:
8 -my $temp_result = `whois 2>&1`;
9 +my $temp_result = `$whois_command 2>&1`;
10  
11 -if ($temp_result=~/-h host/){
12 +if ($temp_result=~/-h host/i){
13         #then this is a BSD type whois
14         $result .= `$whois_command -h $server $host`;
15  }
This page took 0.064809 seconds and 3 git commands to generate.