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

View File

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