diff options
author | Sam James <sam@gentoo.org> | 2023-06-06 11:18:44 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-06-06 11:30:55 +0100 |
commit | 2660f630e18ea5893c3463972516b174c2e8443c (patch) | |
tree | 1d0862a51bf532e86f0ccc8d7a2b5ee1c51bd68a | |
parent | sync: webrsync: fix keyserver variable typo (diff) | |
download | portage-2660f630.tar.gz portage-2660f630.tar.bz2 portage-2660f630.zip |
sync: webrsync: fix passing down PORTAGE_SYNC_WEBRSYNC_GPG
This needs to be a string, not an int, because an int doesn't
mean anything when we're passing it as an argument to an external
process by shelling out.
Bug: https://bugs.gentoo.org/907816
Signed-off-by: Sam James <sam@gentoo.org>
Closes: https://github.com/gentoo/portage/pull/1050
-rw-r--r-- | lib/portage/sync/modules/webrsync/webrsync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/portage/sync/modules/webrsync/webrsync.py b/lib/portage/sync/modules/webrsync/webrsync.py index 0e1d1a463..ca0416fa4 100644 --- a/lib/portage/sync/modules/webrsync/webrsync.py +++ b/lib/portage/sync/modules/webrsync/webrsync.py @@ -97,7 +97,7 @@ class WebRsync(SyncBase): ) return (1, False) - self.spawn_kwargs["env"]["PORTAGE_SYNC_WEBRSYNC_GPG"] = True + self.spawn_kwargs["env"]["PORTAGE_SYNC_WEBRSYNC_GPG"] = "1" self.spawn_kwargs["env"][ "PORTAGE_GPG_KEY" ] = self.repo.sync_openpgp_key_path |