[packages/adapter: 24/631] version 0.13 Fixed stupid bug in group translating: s/~/==/

glen glen at pld-linux.org
Mon Sep 12 19:36:28 CEST 2016


commit fcb2d2da2a4954e2b508d6c00494695bcaa04749
Author: kura <kura at pld-linux.org>
Date:   Mon Feb 28 16:34:29 2000 +0000

    version 0.13
    Fixed stupid bug in group translating: s/~/==/
    
    Changed files:
        adapter.awk -> 1.24

 adapter.awk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index 3f9ecb6..46db8f0 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1,6 +1,6 @@
 #!/bin/awk -f
 #
-# This is adapter v0.12. Adapter adapts .spec files for PLD.
+# This is adapter v0.13. Adapter adapts .spec files for PLD.
 # Copyright (C) 1999 Micha� Kuratczyk <kura at pld.org.pl>
 
 BEGIN {
@@ -322,7 +322,7 @@ function translate_group(group)
 			return
 		}
 		
-		if (line ~ group) {
+		if (line == group) {
 			found = 1
 			continue
 		}
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list