diff options
Diffstat (limited to 'subr')
-rw-r--r-- | subr/build_init.subr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subr/build_init.subr b/subr/build_init.subr index 0634e33b..310585fa 100644 --- a/subr/build_init.subr +++ b/subr/build_init.subr @@ -47,7 +47,7 @@ build_init() { DEFAULT_GIT_ARGS="-6${DEFAULT_GIT_ARGS:+ ${DEFAULT_GIT_ARGS}}"; DEFAULT_WGET_ARGS="-6${DEFAULT_WGET_ARGS:+ ${DEFAULT_WGET_ARGS}}"; fi; - _env_vars="$(export | sed -e 's/^export //' -e 's/=.*$//')"; + _env_vars="$(export | grep ^export | sed -e 's/^export //' -e 's/=.*$//')"; _env_vars_except="${DEFAULT_CLEAR_ENV_VARS_EXCEPT}"; for _env_var in ${_env_vars}; do if [ "${_env_var#DEFAULT_}" != "${_env_var}" ]\ |