From: Vadim Zeitlin Date: Thu, 16 Mar 2000 16:30:14 +0000 (+0000) Subject: bug fixes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9239628cfccbc05f3340643732360c82d3bd547f bug fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/difflast.pl b/difflast.pl index 8190566ccb..33aecea66a 100755 --- a/difflast.pl +++ b/difflast.pl @@ -31,7 +31,7 @@ sub get_last_rev($) my $file = $_[0]; my $basename = $file; - $basename =~ s@^.*/([^/]\+)@$1@; + $basename =~ s@^.*/@@; # first get the current version: try the Id RCS tag in the file itself # first, use "cvs status" if this fails @@ -64,7 +64,7 @@ sub process_file($) if ( !$revlast ) { warn "Failed to get the last revision for $file, skipping.\n" } - elsif ( $revlast =~ "\.0" ) { + elsif ( $revlast =~ '\.0' ) { warn "No previous revision of the file $file.\n" } else {