[packages/adapter: 48/631] - little fix

glen glen at pld-linux.org
Mon Sep 12 19:38:29 CEST 2016


commit c8e477e4b565ba56c829c8da96dc134d3406cd58
Author: Sebastian Zagrodzki <sebek at zagrodzki.net>
Date:   Tue May 9 21:13:19 2000 +0000

    - little fix
    
    Changed files:
        adapter.awk -> 1.48

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index cf43d02..11f2e39 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -141,7 +141,7 @@ defattr == 1 {
 		next
 	}
 
-	if (!/^$/ && !/^%install/ && did_clean==0) {
+	if (!/^(#?[ \t]*)$/ && !/^%install/ && did_clean==0) {
 		print "rm -rf $RPM_BUILD_ROOT"
 		did_clean=1
 	}
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list