]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commitdiff
- signpkg: let xargs decide number of args, no $key needed anymore
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 15 Feb 2008 13:54:05 +0000 (13:54 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Fri, 15 Feb 2008 13:54:05 +0000 (13:54 +0000)
Changed files:
    shell/bashrc -> 1.8

shell/bashrc

index cdbcaf0b9def6204970b980a754e6b6e2b61800d..ce6791e5b5497fb57a27db5dbbbb8b4eb4809688 100644 (file)
@@ -65,10 +65,9 @@ signpkg() {
                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() {
This page took 0.039114 seconds and 4 git commands to generate.