pld-ftp-admin: shell/bashrc - signpkg: let xargs decide number of ...

glen glen at pld-linux.org
Fri Feb 15 14:54:10 CET 2008


Author: glen                         Date: Fri Feb 15 13:54:10 2008 GMT
Module: pld-ftp-admin                 Tag: HEAD
---- Log message:
- signpkg: let xargs decide number of args, no $key needed anymore

---- Files affected:
pld-ftp-admin/shell:
   bashrc (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: pld-ftp-admin/shell/bashrc
diff -u pld-ftp-admin/shell/bashrc:1.7 pld-ftp-admin/shell/bashrc:1.8
--- pld-ftp-admin/shell/bashrc:1.7	Thu Feb 14 18:04:18 2008
+++ pld-ftp-admin/shell/bashrc	Fri Feb 15 14:54:05 2008
@@ -65,10 +65,9 @@
 		echo >&2 "signpkg: Specify existing info file"
 		return
 	fi
-	local key=$(rpm -E '%_gpg_name')
 	echo "$@" | xargs awk -F: '/^file:/{arch=$2; file=$3; printf("../../%s/RPMS/%s\n", arch, file)}' | \
 	xargs -l1 -I '%{F}' rpm --nodigest --nosignature -qp --qf '%|SIGGPG?{}:{%{F}\n}|' '%{F}' | \
-	xargs -l512 -r rpm --resign
+	xargs -r rpm --resign
 }
 
 testsignpkg() {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-ftp-admin/shell/bashrc?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list