[packages/adapter: 68/631] - fixed problem with whitespaces in group names...

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


commit 5cab4b70d2902fdf29a3271637b35a329ee64706
Author: Sebastian Zagrodzki <sebek at zagrodzki.net>
Date:   Tue Aug 1 15:16:15 2000 +0000

    - fixed problem with whitespaces in group names...
    
    Changed files:
        adapter.awk -> 1.68

 adapter.awk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 72e766b..cbc094b 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -306,7 +306,8 @@ preamble == 1 {
 			glang="en"
 		else
 			glang=substr(field,RSTART+1,2)
-		Grupa[glang] = $2
+		sub(/^[^ \t]*[ \t]*/,"")
+		Grupa[glang] = $0
 		Byla_grupa = 1
 		
 		next	# Line is already formatted and printed
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list