Travis: fix yandex URL for packages

Submitted by Dmitry Safonov on July 6, 2016, 1:47 p.m.

Details

Message ID 20160706134744.15329-1-dsafonov@virtuozzo.com
State Accepted
Commit 248dfac5f546874497cf212b5dc639f530bb762d
Headers show

Commit Message

Dmitry Safonov July 6, 2016, 1:47 p.m.
Cc: Andrew Vagin <avagin@virtuozzo.com>
Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com>
---
 scripts/build/extract-deb-pkg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/scripts/build/extract-deb-pkg b/scripts/build/extract-deb-pkg
index da527e8673c1..922f9c197977 100755
--- a/scripts/build/extract-deb-pkg
+++ b/scripts/build/extract-deb-pkg
@@ -3,7 +3,7 @@  set -e
 test -d $1 && exit
 mkdir $1
 cd $1
-pkg=`curl http://mirror.yandex.ru/ubuntu/ubuntu/dists/xenial/universe/binary-amd64/Packages.gz | zcat | grep "Filename.*$1" | awk '{ print $2 }'`
+pkg=`curl http://mirror.yandex.ru/ubuntu/dists/xenial/universe/binary-amd64/Packages.gz | zcat | grep "Filename.*$1" | awk '{ print $2 }'`
 wget "http://mirror.yandex.ru/ubuntu/$pkg"
 pkg=`basename $pkg`
 ar vx $pkg

Comments

Dmitry Safonov July 6, 2016, 1:50 p.m.
On 07/06/2016 04:47 PM, Dmitry Safonov wrote:
> Cc: Andrew Vagin <avagin@virtuozzo.com>
> Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com>

By this moment, previous URL returns 404 error and travis isn't happy
about it:
https://travis-ci.org/0x7f454c46/criu/builds/142539282
Pavel Emelianov July 7, 2016, 10:40 a.m.
Applied