]> git.pld-linux.org Git - packages/demarc.git/blame - demarc-whois-fix.patch
- drop obsolete and outdated manual inclusion of rpm macros
[packages/demarc.git] / demarc-whois-fix.patch
CommitLineData
349f96ed
JB
1diff -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.075446 seconds and 4 git commands to generate.