diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2016-07-16 23:23:24 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2016-07-16 23:23:24 -0400 |
commit | 052a049f29ca7478d5e86924add77bce481d68bf (patch) | |
tree | 3f8139efffcaf2a1f3a9c9a1f4b1a40c0d0e1ecd /packdist.sh | |
parent | 2cdc017fb9d5296cfd7cd2a103fb948caa791a2b (diff) | |
download | lighttpd-git-052a049f29ca7478d5e86924add77bce481d68bf.tar.gz |
[build] allow AUTHOR, KEYID overrides to packdist
Diffstat (limited to 'packdist.sh')
-rwxr-xr-x | packdist.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packdist.sh b/packdist.sh index b6978119..1c9895d4 100755 --- a/packdist.sh +++ b/packdist.sh @@ -5,7 +5,7 @@ PACKAGE=lighttpd BASEDOWNLOADURL="http://download.lighttpd.net/lighttpd/releases-1.4.x" SNAPSHOTURL="http://download.lighttpd.net/lighttpd/snapshots-1.4.x" -AUTHOR=stbuehler +AUTHOR="${AUTHOR:-stbuehler}" # may take one argument for prereleases like # ./packdist.sh [--nopack] rc1-r10 @@ -206,8 +206,8 @@ force sha256sum "${name}.tar."{gz,xz} > "${name}.sha256sum" rm -f "${name}".tar.*.asc -force gpg -a --output "${name}.tar.gz.asc" --detach-sig "${name}.tar.gz" -force gpg -a --output "${name}.tar.xz.asc" --detach-sig "${name}.tar.xz" +force gpg ${KEYID:+-u "${KEYID}"} -a --output "${name}.tar.gz.asc" --detach-sig "${name}.tar.gz" +force gpg ${KEYID:+-u "${KEYID}"} -a --output "${name}.tar.xz.asc" --detach-sig "${name}.tar.xz" ( echo "* ${BASEDOWNLOADURL}/${name}.tar.gz" |