commit c8f621c04269d7d99a6e672f8b3150353290a7c4
Author: sparky <[email protected]>
Date:   Fri Jan 28 14:11:17 2011 +0000

    - make "first line" regular expression compatible with mawk
    
    Changed files:
        adapter.awk -> 1.485

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 10f431a..56e9faf 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to