From 975901b51ddc8cd801ccea77ad2bbac9734be2c2 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 22 Oct 2012 13:19:12 -0700 Subject: [PATCH] gen_reprepro_conf.sh: take gpg key id on command line --- gen_reprepro_conf.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5