From: Sage Weil Date: Mon, 22 Oct 2012 20:19:12 +0000 (-0700) Subject: gen_reprepro_conf.sh: take gpg key id on command line X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=975901b51ddc8cd801ccea77ad2bbac9734be2c2;p=ceph-build.git gen_reprepro_conf.sh: take gpg key id on command line --- diff --git a/gen_reprepro_conf.sh b/gen_reprepro_conf.sh index f5ae0edb..d204a9a5 100755 --- a/gen_reprepro_conf.sh +++ b/gen_reprepro_conf.sh @@ -4,6 +4,8 @@ set -e bindir=`dirname $0` path="$1" +key="$2" +[ -z "$key" ] && echo "usage: $0 " && exit 1 if [ ! -d $path -o ! -d $path/conf ] ; then mkdir -p $path/conf @@ -30,7 +32,7 @@ Description: Ceph distributed file system DebIndices: Packages Release . .gz .bz2 DscIndices: Sources Release .gz .bz2 Contents: .gz .bz2 -SignWith: 17ED316D +SignWith: $key EOF done