diff options
author | Karel Zak | 2016-10-01 01:20:06 +0200 |
---|---|---|
committer | Karel Zak | 2016-10-01 01:20:06 +0200 |
commit | b5a58919a932954a643fae53e74dfd96d3c1ff9d (patch) | |
tree | aaf2d9f3c0313a2b4ab65063fe3e5013ad4e3aed /tools | |
parent | build-sys: release++ (v2.29-rc1) (diff) | |
download | kernel-qcow2-util-linux-b5a58919a932954a643fae53e74dfd96d3c1ff9d.tar.gz kernel-qcow2-util-linux-b5a58919a932954a643fae53e74dfd96d3c1ff9d.tar.xz kernel-qcow2-util-linux-b5a58919a932954a643fae53e74dfd96d3c1ff9d.zip |
tools: make ko-release-gen usable with gpg2
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/ko-release-gen | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/ko-release-gen b/tools/ko-release-gen index 2cee64c68..193b5d547 100755 --- a/tools/ko-release-gen +++ b/tools/ko-release-gen @@ -27,7 +27,8 @@ VERSION_MAJOR=$(echo $VERSION | sed 's/-rc[0-9]//; s/\(.*\..*\)\..*/\1/') VERSION_DOCS=$(echo $VERSION | sed 's/-rc[0-9]//') DISTDIR=${1:-"kernel.org"}/v${VERSION_MAJOR} -GPG_CMD="gpg --use-agent --armor --detach-sign --quiet" +GPG_PROG=${GPG_PROG:-"gpg"} +GPG_CMD="$GPG_PROG --use-agent --armor --detach-sign --quiet" die() { echo $1 |