change code to shell and correct command to search patch debian for libvorbis
This commit is contained in:
parent
46e93f49c9
commit
852c087284
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ Linux client_static debian_amd64_strech build:
|
||||||
- mkdir -p libvorbis
|
- 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
|
- 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
|
- tar xvf libvorbis.tar.gz -C libvorbis --strip 1 || exit 2
|
||||||
- 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
|
- subversion=0; code=1; while [ $code -ne 0 -a $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" >&2; 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
|
- tar xvf libvorbis.debian.tar.xz -C libvorbis || exit 2
|
||||||
- cd libvorbis
|
- cd libvorbis
|
||||||
- for file in $(cat debian/patches/series); do patch -p1 < debian/patches/$file; done
|
- for file in $(cat debian/patches/series); do patch -p1 < debian/patches/$file; done
|
||||||
|
|
Loading…
Reference in a new issue