Merge "Fix DIB_DISTRIBUTION_MIRROR_UBUNTU_IGNORE regex typo"

This commit is contained in:
Zuul 2018-10-19 04:01:21 +00:00 committed by Gerrit Code Review
commit ec025ff03d
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ DIB_DISTRIBUTION_MIRROR=${DIB_DISTRIBUTION_MIRROR:-}
while IFS= read line
do
if [[ "$line" =~ "${DIB_DISTRIBUTION_MIRROR_UBUNTU_IGNORE:-}" ]]; then
if [[ "$line" =~ ${DIB_DISTRIBUTION_MIRROR_UBUNTU_IGNORE:-} ]]; then
# append line unmodified
echo "$line" | tee --append /etc/apt/sources.list.new
else