[packages/rpm-build-tools] honor GETLOCAL override in .builderrc

baggins baggins at pld-linux.org
Fri Mar 30 11:44:29 CEST 2018


commit e0c78ad6ed6f031f6bbd4f376f82062657ff79c0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Mar 30 11:44:05 2018 +0200

    honor GETLOCAL override in .builderrc

 builder.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/builder.sh b/builder.sh
index c62e0b4..8d9b0df 100755
--- a/builder.sh
+++ b/builder.sh
@@ -225,7 +225,7 @@ else
 	OUTFILEOPT="-O"
 fi
 
-GETLOCAL="cp -a"
+GETLOCAL=${GETLOCAL:-cp -a}
 
 if rpm --version 2>&1 | grep -q '4.0.[0-2]'; then
 	RPM="rpm"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/e0c78ad6ed6f031f6bbd4f376f82062657ff79c0



More information about the pld-cvs-commit mailing list