commit 8a8494ddc43cf67dfb8cfecaffe7fd5195acead3
Author: Elan Ruusamäe <[email protected]>
Date: Tue Dec 13 15:02:47 2005 +0000
- enable sortbr by default. works good so far
Changed files:
adapter.awk -> 1.239
adapter.awk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index ca1e6c4..e99b300 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -109,7 +109,7 @@ function b_makekey(a, b, s) {
# so don't do that.
# - comments leading the BR/R can not be associated,
# so don't adapterize when the BR/R are mixed with comments
-ENVIRON["SORTBR"] == 1 && preamble == 1 && /(Build)?Requires/,
/(Build)?Requires/ { # && !/^%/) {
+ENVIRON["SKIP_SORTBR"] != 1 && preamble == 1 && /(Build)?Requires/,
/(Build)?Requires/ {
b_idx++;
l = substr($0, index($0, $2));
b_ktmp = b_makekey($1, l);
================================================================
---- 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