From 3da50962fde239bbd3b1c1a1632fae0adfdc65fa Mon Sep 17 00:00:00 2001 From: Dor Askayo Date: Thu, 13 Jul 2023 13:03:45 +0300 Subject: [PATCH] Run run.sh with a clean environment All expected environment variables are passed through the .env file. Any other variable passed from /init and the environment in which it is executed only "pollutes" the build environment. No change in package hashes. --- sysb/init | 2 +- sysc/init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sysb/init b/sysb/init index e0ca338..69204d8 100755 --- a/sysb/init +++ b/sysb/init @@ -43,4 +43,4 @@ PREFIX=${PREFIX} SOURCES=${SOURCES} EOF -exec ./run.sh +exec env -i bash run.sh diff --git a/sysc/init b/sysc/init index f434c9c..8a8b99f 100755 --- a/sysc/init +++ b/sysc/init @@ -81,4 +81,4 @@ MAKEJOBS=${MAKEJOBS} INTERNAL_CI=${INTERNAL_CI} EOF -exec ./run.sh +exec env -i bash run.sh