diff options
author | Werner Koch <[email protected]> | 2021-04-26 14:30:33 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2021-05-04 08:27:54 +0000 |
commit | 569fa67277a442a1e676a63231f56e1e7340130a (patch) | |
tree | 4d93b14871b09e61ff2bf2e7d1df5bf3e47295e8 | |
parent | scd: Fix unblock PIN by a Reset Code with KDF. (diff) | |
download | gnupg-569fa67277a442a1e676a63231f56e1e7340130a.tar.gz gnupg-569fa67277a442a1e676a63231f56e1e7340130a.zip |
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.
(cherry picked from commit 178e4eb6555e3dffcae3eda1b45c1dbf1d87c103)
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 574563e6c..93470c1ee 100644 --- a/Makefile.am +++ b/Makefile.am @@ -202,7 +202,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; \ |