]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- make "first line" regular expression compatible with mawk
authorsparky <sparky@pld-linux.org>
Fri, 28 Jan 2011 14:11:17 +0000 (14:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    adapter.awk -> 1.485

adapter.awk

index 10f431ac66097ca2d345427075a9b9a79956b963..56e9faf567f3992cd81a684a266cfa1c3d13c232 100644 (file)
@@ -71,7 +71,7 @@ BEGIN {
 
 # There should be a comment with CVS keywords on the first line of file.
 FNR == 1 {
-       if (!/^# \$()Revision: .* \$, \$()Date: .* \$$/) {      # If this line is already OK?
+       if (!/^# \$[R]evision: .* \$, \$[D]ate: .* \$$/) {      # If this line is already OK?
                print "# $" "Revision:$, " "$" "Date:$" # No
                if ( /^#.*([rR]evision|[dD]ate)/ ) # There was something similar, but incorrect
                         next
This page took 0.030425 seconds and 4 git commands to generate.