commit:     8acef68eac8dc4f7a6e937d11c4dd8713431e9b6
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 29 00:09:39 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Jul 29 20:00:27 2019 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=8acef68e

Export $PATH to genkernel worker

For example required for ccache.

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 gen_funcs.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gen_funcs.sh b/gen_funcs.sh
index 59c7507..cb0763a 100755
--- a/gen_funcs.sh
+++ b/gen_funcs.sh
@@ -595,6 +595,7 @@ dropbear_create_key() {
                "LOGLEVEL='${LOGLEVEL}'"
                "LOGFILE='${LOGFILE}'"
                "NOCOLOR='${NOCOLOR}'"
+               "PATH='${PATH}'"
                "TEMP='${TEMP}'"
        )
 
@@ -670,6 +671,7 @@ dropbear_generate_key_info_file() {
                "LOGLEVEL='${LOGLEVEL}'"
                "LOGFILE='${LOGFILE}'"
                "NOCOLOR='${NOCOLOR}'"
+               "PATH='${PATH}'"
                "TEMP='${TEMP}'"
        )
 
@@ -1197,6 +1199,7 @@ gkbuild() {
                "LOGLEVEL='${LOGLEVEL}'"
                "LOGFILE='${LOGFILE}'"
                "NOCOLOR='${NOCOLOR}'"
+               "PATH='${PATH}'"
                "TEMP='${TEMP}'"
                "TMPDIR='${TEMP}'"
        )
@@ -1285,6 +1288,7 @@ unpack() {
                "LOGLEVEL='${LOGLEVEL}'"
                "LOGFILE='${LOGFILE}'"
                "NOCOLOR='${NOCOLOR}'"
+               "PATH='${PATH}'"
                "TEMP='${TEMP}'"
        )
 

Reply via email to