Changeset 58da5d7 for debian


Ignore:
Timestamp:
Nov 24, 2010 5:45:13 PM (10 years ago)
Author:
HungryHobo <HungryHobo@…>
Branches:
master
Children:
ef92123
Parents:
838da76
Message:
  • 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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • debian/makerepo.sh

    r838da76 r58da5d7  
    1 #!/bin/bash
     1#!/bin/sh
    22# This script creates a Debian repository in ${DIR} using the reprepro tool.
    33# The packages are signed with the key referenced in the newest changelog entry.
     
    1010CONFFILE=${CONFDIR}/distributions
    1111
    12 SIGNER=`parsechangelog --file changelog | grep Maintainer | cut -d: -f2`
    13 SIGNER=${SIGNER//^ /}
    14 SIGNER=`echo ${SIGNER} | cut -d\  -f1`
     12SIGNER=`parsechangelog --file changelog | grep Maintainer | cut -d\< -f2 | cut -d\> -f1`
    1513KEYID=`gpg --list-keys "${SIGNER}" | cut -d: -f2 | grep -w pub | cut -d/ -f2 | cut -d\  -f1`
    1614echo Using signing key: ${SIGNER}
Note: See TracChangeset for help on using the changeset viewer.