From: Tobias Brunner Date: Tue, 19 May 2015 14:59:35 +0000 (+0200) Subject: testing: Fix kernel download URL for kernel versions != 4.x X-Git-Tag: 5.3.1rc1~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c077642cbd749716a174d906440ac3516ed723ad;p=thirdparty%2Fstrongswan.git testing: Fix kernel download URL for kernel versions != 4.x --- diff --git a/testing/scripts/build-guestkernel b/testing/scripts/build-guestkernel index b408d73897..17f22bd836 100755 --- a/testing/scripts/build-guestkernel +++ b/testing/scripts/build-guestkernel @@ -14,7 +14,7 @@ cd $BUILDDIR if [ ! -f "$KERNELTARBALL" ] then - url=ftp://ftp.kernel.org/pub/linux/kernel/v4.x/$KERNELTARBALL + url=ftp://ftp.kernel.org/pub/linux/kernel/v${KERNELVERSION:0:1}.x/$KERNELTARBALL log_action "Downloading $url" execute "wget -q $url" fi