Skip to content

Commit 7567ba5

Browse files
committed
getuto: enable debug mode with PORTAGE_DEBUG=1
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]>
1 parent 342a159 commit 7567ba5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getuto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# sec-keys/openpgp-keys-gentoo-release
1919
# sys-apps/gentoo-functions
2020

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

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

0 commit comments

Comments
 (0)