diff --git a/setup b/setup index d5047a9..04f062b 100755 --- a/setup +++ b/setup @@ -15,7 +15,7 @@ get_linux_source() { if [ ! -d $linux_dir ]; then echo "Downloading kernel source for $kv by git..." - git clone --depth 1 -b "v$kv" git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git "linux-$kv" + git clone --depth 1 -b "linux-${kv%?}y" https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git "linux-$kv" if [ $? != 0 ]; then echo "git failed to download the source. Check the output for information." exit 1