I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 58da5d79 authored by HungryHobo's avatar HungryHobo
Browse files

* Don't use bash explicitly

* Don't put the signer's name into the SignWith field, use the email address instead to avoid problems with spaces
parent 838da762
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
#!/bin/sh
# This script creates a Debian repository in ${DIR} using the reprepro tool.
# The packages are signed with the key referenced in the newest changelog entry.
......@@ -9,9 +9,7 @@ DIR=./repo
CONFDIR=conf
CONFFILE=${CONFDIR}/distributions
SIGNER=`parsechangelog --file changelog | grep Maintainer | cut -d: -f2`
SIGNER=${SIGNER//^ /}
SIGNER=`echo ${SIGNER} | cut -d\ -f1`
SIGNER=`parsechangelog --file changelog | grep Maintainer | cut -d\< -f2 | cut -d\> -f1`
KEYID=`gpg --list-keys "${SIGNER}" | cut -d: -f2 | grep -w pub | cut -d/ -f2 | cut -d\ -f1`
echo Using signing key: ${SIGNER}
echo Key ID: ${KEYID}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment