From a31c3dc8a04e4477828eef83a2c339656f7ec549 Mon Sep 17 00:00:00 2001 From: Ira Abramov Date: Sat, 1 Jul 2023 00:49:54 +0300 Subject: [PATCH] subshell context written by AWK misses some variables exporting two more important variables --- deb-get | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deb-get b/deb-get index eb38c696..30a6df6d 100755 --- a/deb-get +++ b/deb-get @@ -696,7 +696,7 @@ function update_repos() { for REPO in $(find "${ETC_DIR}" -maxdepth 1 -name "*.repo" ! -name 00-builtin.repo ! -name 99-local.repo -type f -printf "%f\n" | sed "s/.repo$//"); do - export REPO + export REPO ETC_DIR ELEVATE fancy_message info "Updating ${ETC_DIR}/${REPO}" REPO_URL="$(head -n 1 "${ETC_DIR}/${REPO}.repo")" ${ELEVATE} wget ${WGET_VERBOSITY} "${REPO_URL}/manifest" -O "${ETC_DIR}/${REPO}.repo"