aboutsummaryrefslogtreecommitdiffstats
path: root/build/f_isoroot
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-12-20 22:42:48 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-20 22:42:48 +0000
commit67a6f787747dd577040829b2834a440ac77f3ab0 (patch)
tree418acaa18f604eaa1d8a8161da70bba9b3915287 /build/f_isoroot
parent532a03ecc34da805ae1836a94f3c58ba8fd312f0 (diff)
parent592d5a420bdcc8e78530ee42527fe05f82371b5b (diff)
Merge "build: select_ubuntu_repo: break on err"
Diffstat (limited to 'build/f_isoroot')
-rwxr-xr-xbuild/f_isoroot/f_repobuild/select_ubuntu_repo.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/f_isoroot/f_repobuild/select_ubuntu_repo.sh b/build/f_isoroot/f_repobuild/select_ubuntu_repo.sh
index 24bd42234..5618eb79b 100755
--- a/build/f_isoroot/f_repobuild/select_ubuntu_repo.sh
+++ b/build/f_isoroot/f_repobuild/select_ubuntu_repo.sh
@@ -69,14 +69,14 @@ if [ "$1" == "-d" ]; then
fi
# Hardcode for testing purposes
-DEBUG=1
+# DEBUG=1
TMPFILE=$(mktemp /tmp/mirrorsXXXXX)A
trap cleanup exit
# Generate a list of mirrors considered as "up"
curl -s https://launchpad.net/ubuntu/+archivemirrors | \
- grep -P -B8 "statusUP|statusSIX" | \
+ grep -P -B8 "statusUP|statusONE|statusSIX" | \
grep -o -P "(f|ht)tp.*\"" | \
sed 's/"$//' | sort | uniq > $TMPFILE