[projects/pld-ftp-admin] quiet git checkout correctly

baggins baggins at pld-linux.org
Fri May 13 12:08:21 CEST 2022


commit a9984a09e6837814c7c8d9e6967cc97e35d60c09
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri May 13 17:08:01 2022 +0700

    quiet git checkout correctly

 bin/pfa-genindex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/bin/pfa-genindex b/bin/pfa-genindex
index 878ee05..6f0d37a 100755
--- a/bin/pfa-genindex
+++ b/bin/pfa-genindex
@@ -102,7 +102,7 @@ if do_poldek:
                 os.system('%s -s %s%s/%s/debuginfo/ --mkidxz --mkidx-type pndir' % (poldek, ftp_dir, tree, arch))
 
 if do_yum:
-    os.system('%s cd %s.stat/repodata && git checkout %s HEAD repodata/comps.xml' % ("" if quiet else "set -x;", ftp_dir, "" if quiet else "--quiet"))
+    os.system('%s cd %s.stat/repodata && git checkout %s HEAD repodata/comps.xml' % ("" if quiet else "set -x;", ftp_dir, "--quiet" if quiet else ""))
     yum = '%s.stat/bin/createrepo_c --database --update --skip-stat --workers=12 --xz --groupfile=%s.stat/repodata/comps.xml' % (ftp_dir, ftp_dir)
     comps_file = '%s.stat/repodata/comps.xml' % ftp_dir
     for tree in trees:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-ftp-admin.git/commitdiff/a9984a09e6837814c7c8d9e6967cc97e35d60c09



More information about the pld-cvs-commit mailing list