Skip to content

Commit

Permalink
subshell context written by AWK misses some variables
Browse files Browse the repository at this point in the history
exporting two more important variables
  • Loading branch information
seefood authored and philclifford committed Jul 4, 2023
1 parent 2a911a7 commit a31c3dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deb-get
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a31c3dc

Please # to comment.