From: Karel Zak Date: Fri, 30 Sep 2016 23:20:06 +0000 (+0200) Subject: tools: make ko-release-gen usable with gpg2 X-Git-Tag: v2.29-rc2~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b5a58919a932954a643fae53e74dfd96d3c1ff9d;p=thirdparty%2Futil-linux.git tools: make ko-release-gen usable with gpg2 Signed-off-by: Karel Zak --- diff --git a/tools/ko-release-gen b/tools/ko-release-gen index 2cee64c682..193b5d547a 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