[packages/adapter: 369/631] - require at least one space

glen glen at pld-linux.org
Mon Sep 12 20:05:23 CEST 2016


commit b8085249ebf7bb7424882644c4c58b826a3ee214
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Jun 4 14:00:37 2007 +0000

    - require at least one space
    
    Changed files:
        adapter.awk -> 1.356

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index a995f12..50371bf 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1448,7 +1448,7 @@ function use_files_macros(	i, n, t, a)
 	}
 
 	# kill leading whitespace
-	gsub(/^ */, "");
+	gsub(/^ +/, "");
 
 	# kill default attrs
 	gsub(/%dir %attr\(755,root,root\)/, "%dir");
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list