diff --git a/scripts/source.sh b/scripts/source.sh index 01f41fe..481f9af 100755 --- a/scripts/source.sh +++ b/scripts/source.sh @@ -2,7 +2,7 @@ echo "Pika Kernel - Getting source" -wget -nv https://git.kernel.org/torvalds/t/linux-6.11-rc6.tar.gz -tar -xf ./linux-6.11-rc6.tar.gz +wget -nv https://cdn.kernel.org/pub/linux/kernel/v"$(echo $(cat ./VERSION) | cut -f1 -d".")".x/linux-"$(cat ./VERSION)".tar.gz +tar -xf ./linux-"$(cat ./VERSION)".tar.gz -cd linux-6.11-rc6 +cd linux-"$(cat ./VERSION)"