[packages/rpm-build-tools/purge] purge-packages: Allow CALL_GC to be determined by environment

draenog draenog at pld-linux.org
Thu Apr 11 20:05:15 CEST 2013


commit 74be80b2765cc442c83470b46ed428aede206f79
Author: Kacper Kornet <draenog at pld-linux.org>
Date:   Thu Apr 11 18:47:11 2013 +0100

    purge-packages: Allow CALL_GC to be determined by environment

 purge-packages.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/purge-packages.sh b/purge-packages.sh
index 4b415c1..90ac666 100755
--- a/purge-packages.sh
+++ b/purge-packages.sh
@@ -4,7 +4,7 @@
 # - otherwise git gc is called
 set -e
 
-CALL_GC='yes'
+CALL_GC=${CALL_GC:-'yes'}
 
 topdir=$(rpm -E %_topdir)
 purgedir=$topdir/purged
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list