1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-21 10:09:57 +01:00

build: Allow running sign-release target from the dist dir.

--

This is a kludge to avoid a new configure run only to then cd down do
dist.  Just cd to dist and run make sign-release.
This commit is contained in:
Werner Koch 2021-04-26 16:30:33 +02:00
parent f209d7d2db
commit 178e4eb655
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -213,7 +213,7 @@ release:
sign-release:
+(set -e; \
cd dist; \
test $$(pwd | sed 's,.*/,,') = dist || cd dist; \
x=$$(grep '^RELEASE_ARCHIVE=' $$HOME/.gnupg-autogen.rc|cut -d= -f2);\
if [ -z "$$x" ]; then \
echo "error: RELEASE_ARCHIVE missing in ~/.gnupg-autogen.rc">&2; \