[packages/adapter: 237/631] - sort also commented out bconded BR

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


commit 24807edcfcada985892c720f83a0a20bd914614e
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Dec 12 13:44:25 2005 +0000

    - sort also commented out bconded BR
    
    Changed files:
        adapter.awk -> 1.228

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 2b84312..952e665 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -93,7 +93,7 @@ defattr == 1 {
 function b_makekey(a, b,	s) {
 	s = a "" b;
 	# kill bcond
-	gsub(/%{[!?]+[_a-zA-Z0-9]+:/, "", s);
+    gsub(/[#%]+{[!?]+[_a-zA-Z0-9]+:/, "", s);
 	return s;
 }
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list