From 46e93f49c9bf8a075391a9be9e395f1d3a2daef2 Mon Sep 17 00:00:00 2001 From: AleaJactaEst Date: Thu, 22 Mar 2018 09:38:18 +0100 Subject: [PATCH] correct command to search patch debian for libvorbis --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b7f494a94..d6710ef1b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -292,7 +292,7 @@ Linux client_static debian_amd64_strech build: - mkdir -p libvorbis - wget -q http://security.debian.org/debian-security/pool/updates/main/libv/libvorbis/libvorbis_1.3.5.orig.tar.gz -O libvorbis.tar.gz - tar xvf libvorbis.tar.gz -C libvorbis --strip 1 || exit 2 - - subversion=1; code=1; while [ $code -ne 0 ] ; do wget -q http://security.debian.org/debian-security/pool/updates/main/libv/libvorbis/libvorbis_1.3.5-4+deb9u$subversion.debian.tar.xz -O libvorbis.debian.tar.xz; code=$? subversion=$(( $subversion + 1 )) ; done ; echo "GET libvorbis_1.3.5-4+deb9u$(( $subversion - 1)).debian.tar.xz" + - subversion=0; code=1; while [[ $code -ne 0 && $subversion -le 100 ]] ; do subversion=$(( $subversion + 1 )); wget -q http://security.debian.org/debian-security/pool/updates/main/libv/libvorbis/libvorbis_1.3.5-4+deb9u$subversion.debian.tar.xz -O libvorbis.debian.tar.xz; code=$? ; done ; if [ $code -ne 0 ] ; then echo "Impossible to download patch libvorbis"; exit $? ; else echo "GET libvorbis_1.3.5-4+deb9u${subversion}.debian.tar.xz" ; fi - tar xvf libvorbis.debian.tar.xz -C libvorbis || exit 2 - cd libvorbis - for file in $(cat debian/patches/series); do patch -p1 < debian/patches/$file; done