summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-01-14 17:36:07 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-01-14 17:36:07 (GMT)
commit1ce0dba9d7a2e409ce75d312e2ddc2cf193bf57f (patch)
treec3b41629a8a7caaea47a25292497c87b9765ffac
parent3de7ced945dc99ecc0eb7bffffb5be48ab8565ce (diff)
kernel/linux: simplify the download URL
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
-rw-r--r--scripts/build/kernel/linux.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build/kernel/linux.sh b/scripts/build/kernel/linux.sh
index 67f930b..50f1e43 100644
--- a/scripts/build/kernel/linux.sh
+++ b/scripts/build/kernel/linux.sh
@@ -30,8 +30,9 @@ do_kernel_get() {
k_ver="${CT_KERNEL_VERSION}"
;;
esac
- CT_GetFile "linux-${CT_KERNEL_VERSION}" \
- {ftp,http}://ftp.{de.,eu.,}kernel.org/pub/linux/kernel/v2.{6{,/testing,/longterm/v${k_ver}},4,2}
+ CT_GetFile "linux-${CT_KERNEL_VERSION}" \
+ http://ftp.{de.,eu.,}kernel.org/pub/linux/kernel/v2.6 \
+ http://ftp.{de.,eu.,}kernel.org/pub/linux/kernel/v2.6/longterm/v${k_ver}
fi
}