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.
This commit is contained in:
Dor Askayo 2023-07-13 13:03:45 +03:00
parent b58c513e8f
commit 3da50962fd
2 changed files with 2 additions and 2 deletions

View File

@ -43,4 +43,4 @@ PREFIX=${PREFIX}
SOURCES=${SOURCES}
EOF
exec ./run.sh
exec env -i bash run.sh

View File

@ -81,4 +81,4 @@ MAKEJOBS=${MAKEJOBS}
INTERNAL_CI=${INTERNAL_CI}
EOF
exec ./run.sh
exec env -i bash run.sh