SPECS: adapter.awk - require at least one space

glen glen at pld-linux.org
Mon Jun 4 16:00:43 CEST 2007


Author: glen                         Date: Mon Jun  4 14:00:43 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- require at least one space

---- Files affected:
SPECS:
   adapter.awk (1.355 -> 1.356) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.355 SPECS/adapter.awk:1.356
--- SPECS/adapter.awk:1.355	Sat Jun  2 04:08:09 2007
+++ SPECS/adapter.awk	Mon Jun  4 16:00:37 2007
@@ -1448,7 +1448,7 @@
 	}
 
 	# kill leading whitespace
-	gsub(/^ */, "");
+	gsub(/^ +/, "");
 
 	# kill default attrs
 	gsub(/%dir %attr\(755,root,root\)/, "%dir");
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.355&r2=1.356&f=u



More information about the pld-cvs-commit mailing list