diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/CVS/Entries | 7 | ||||
| -rw-r--r-- | scripts/makeyhttpd.pl | 3 | ||||
| -rwxr-xr-x | scripts/stats.pl | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/scripts/CVS/Entries b/scripts/CVS/Entries index d18751c..4fb49c8 100644 --- a/scripts/CVS/Entries +++ b/scripts/CVS/Entries @@ -1,8 +1,9 @@ /README/1.1/Tue Jun 29 23:38:15 2004// -/astyle.sh/1.1/Sat Nov 13 19:16:39 2004// +/astyle.sh/1.2/Mon Feb 21 01:55:49 2005// /buildnr.pl/1.4/Sun Feb 6 16:38:36 2005// -/config.sh/1.3/Sun Oct 31 18:04:18 2004// -/makeyhttpd.pl/1.11/Wed Feb 9 22:42:58 2005// +/checkperl.sh/1.1/Sat Feb 26 23:09:19 2005// +/config.pl/1.1/Sat Feb 26 21:14:55 2005// +/makeyhttpd.pl/1.15/Tue Mar 1 14:10:39 2005// /screen.sh/1.1/Fri Mar 5 05:53:12 2004// /setglobvals.pl/1.1.1.1/Fri Jan 2 03:15:10 2004// /stats.pl/1.7/Fri Jan 14 17:33:02 2005// diff --git a/scripts/makeyhttpd.pl b/scripts/makeyhttpd.pl index 7dd0345..6adcc96 100644 --- a/scripts/makeyhttpd.pl +++ b/scripts/makeyhttpd.pl @@ -40,7 +40,6 @@ my %substituate = ( 'yChat' => 'yhttpd', 'YCHAT' => 'YHTTPD', 'CHAT' => 'HTTPD', - 'yhttpd.org' => 'yChat.org', '//>>' => '' ); @@ -157,7 +156,7 @@ sub remove_marked_lines { sub edit_yhttpd_conf { my @old = fopen("etc/yhttpd.conf"); - my @new = @old[0..1]; + my @new = shift @old; my $flag = 0; for (@old) diff --git a/scripts/stats.pl b/scripts/stats.pl index 96fbdf1..e5cc2b3 100755 --- a/scripts/stats.pl +++ b/scripts/stats.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl -# The yhttpd Project (2003 - 2004) +# The yChat Project (2003 - 2004) # # This script generates source code and project statistics @@ -76,7 +76,7 @@ sub filestats $stats{"Number of script files"}++; $stats{"Lines of scripts"} += countlines($shift); } - elsif ( $shift =~ /(\.txt|[A-Z]+)$/ ) + elsif ( $shift =~ /(\.txt|README|INSTALL|COPYING|NEWS|SNAPSHOT|ChangeLog)$/ ) { $stats{"Number of text files"}++; $stats{"Lines of text"} += countlines($shift); |
