forked from I2P_Developers/i2p.i2p
* 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
This commit is contained in:
6
debian/makerepo.sh
vendored
6
debian/makerepo.sh
vendored
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
# This script creates a Debian repository in ${DIR} using the reprepro tool.
|
# 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.
|
# The packages are signed with the key referenced in the newest changelog entry.
|
||||||
|
|
||||||
@@ -9,9 +9,7 @@ DIR=./repo
|
|||||||
CONFDIR=conf
|
CONFDIR=conf
|
||||||
CONFFILE=${CONFDIR}/distributions
|
CONFFILE=${CONFDIR}/distributions
|
||||||
|
|
||||||
SIGNER=`parsechangelog --file changelog | grep Maintainer | cut -d: -f2`
|
SIGNER=`parsechangelog --file changelog | grep Maintainer | cut -d\< -f2 | cut -d\> -f1`
|
||||||
SIGNER=${SIGNER//^ /}
|
|
||||||
SIGNER=`echo ${SIGNER} | cut -d\ -f1`
|
|
||||||
KEYID=`gpg --list-keys "${SIGNER}" | cut -d: -f2 | grep -w pub | 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 Using signing key: ${SIGNER}
|
||||||
echo Key ID: ${KEYID}
|
echo Key ID: ${KEYID}
|
||||||
|
Reference in New Issue
Block a user