[packages/adapter: 313/631] - tabs

glen glen at pld-linux.org
Mon Sep 12 20:00:41 CEST 2016


commit 6ebff802b7e94490e3239718516074425147de86
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Apr 12 11:34:09 2006 +0000

    - tabs
    
    Changed files:
        adapter.awk -> 1.301

 adapter.awk | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 3a9cc28..bad9db9 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -343,6 +343,7 @@ function b_makekey(a, b,	s) {
 	}
 
 	use_macros()
+	use_tabs()
 
 	if (/^automake$/)
 		sub(/$/, " -a -c")
@@ -1484,3 +1485,9 @@ function format_requires(tag, value,	n, p, i, deps, ndeps) {
 	}
 	return substr(s, 1, length(s)-1);
 }
+
+function use_tabs()
+{
+	# reverse vim: ts=4 sw=4 et
+	gsub(/    /, "\t");
+}
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list