Skip to content

Commit

Permalink
getuto: enable debug mode with PORTAGE_DEBUG=1
Browse files Browse the repository at this point in the history
This means we get debug output with 'emerge --debug', for example. Useful
when debugging e.g. keyserver issues.

Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Jun 21, 2024
1 parent 342a159 commit 7567ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getuto
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# sec-keys/openpgp-keys-gentoo-release
# sys-apps/gentoo-functions

[[ ${GETUTO_DEBUG} ]] && set -x
[[ ${PORTAGE_DEBUG} || ${GETUTO_DEBUG} ]] && set -x
[[ $(whoami) == 'root' ]] || { echo "${0} must be run as root!" ; exit 100 ; }

export GNUPGHOME="${ROOT%/}"/etc/portage/gnupg
Expand Down

0 comments on commit 7567ba5

Please sign in to comment.