From 0bf04ea43b914ea526b2b3217bbf13c96b705110 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 5 Oct 2014 15:07:34 +0200 Subject: reproducible: use $MIRROR variable --- bin/reproducible_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index c3fc6353..7a9d21bb 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -25,7 +25,7 @@ sudo apt-get update || ( sleep $(( $RANDOM % 70 + 30 )) ; sudo apt-get update || # update sources table in db update_sources_table() { TMPFILE=$(mktemp) - curl http://ftp.de.debian.org/debian/dists/sid/main/source/Sources.xz > $TMPFILE + curl $MIRROR/dists/sid/main/source/Sources.xz > $TMPFILE CSVFILE=$(mktemp) (xzcat $TMPFILE | egrep "(^Package:|^Version:)" | sed -s "s#^Version: ##g; s#Package: ##g; s#\n# #g"| while read PKG ; do read VERSION ; echo "$PKG,$VERSION" ; done) > $CSVFILE sqlite3 -csv -init $INIT ${PACKAGES_DB} "DELETE from sources" -- cgit v1.2.3-70-g09d2