[tor-commits] [tor-browser-bundle/master] Bug 16973: fix gpg keyring path

gk at torproject.org gk at torproject.org
Thu Sep 3 11:33:00 UTC 2015


commit 199808ddbe8e9f640bc8cef57e6f09f2f3070d95
Author: Nicolas Vigier <boklm at torproject.org>
Date:   Thu Sep 3 11:35:34 2015 +0200

    Bug 16973: fix gpg keyring path
    
    The path defined in config.yml is relative to the tools/update-responses
    directory, but we usually run the script from the Makefile in the gitian
    directory. This patch makes it work from anywhere.
---
 tools/update-responses/update_responses |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/update-responses/update_responses b/tools/update-responses/update_responses
index 4f6286d..bb285fd 100755
--- a/tools/update-responses/update_responses
+++ b/tools/update-responses/update_responses
@@ -423,7 +423,7 @@ sub download_version {
         }
     }
     if (system('gpg', '--no-default-keyring', '--keyring',
-            $config->{download}{gpg_keyring}, '--verify',
+            "$FindBin::Bin/$config->{download}{gpg_keyring}", '--verify',
             "$tmpdir/sha256sums-unsigned-build.txt.asc",
             "$tmpdir/sha256sums-unsigned-build.txt")) {
         exit_error "Error checking gpg signature for version $version";





More information about the tor-commits mailing list