[packages/adapter: 50/631] - small fix

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


commit 08e93105308fec5a3c78526988748fc838a032c2
Author: Sebastian Zagrodzki <sebek at zagrodzki.net>
Date:   Wed May 10 18:52:58 2000 +0000

    - small fix
    
    Changed files:
        adapter.awk -> 1.50

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 4158e94..7a32975 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -135,7 +135,7 @@ defattr == 1 {
 	
 	preamble = 0
 	
-	if (/^[ \t]*rm([ \t]+-[rf]+)*[ \t]+\${?RPM_BUILD_ROOT}?/) {
+	if (/^[ \t]*rm([ \t]+-[rf]+)*[ \t]+\${?RPM_BUILD_ROOT}?/ && did_clean==0) {
 		did_clean=1
 		print "rm -rf $RPM_BUILD_ROOT"
 		next
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list