From 4f9eb59fcca294dc787aba804f28422e09ce99e0 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Tue, 16 Jan 2018 14:08:42 -0500 Subject: [PATCH] fix Signed-off-by: Jess Frazelle --- kernel-builder/build_kernel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel-builder/build_kernel b/kernel-builder/build_kernel index 088e7cb..bd8c667 100755 --- a/kernel-builder/build_kernel +++ b/kernel-builder/build_kernel @@ -54,7 +54,7 @@ install_kernel(){ # get the kernel source if [[ "$VERSION" == *-rc* ]]; then - [ -d /usr/src/linux-${VERSION} ] || curl -sSL "https://git.kernel.org/torvalds/t/linux-${VERSION}.tar.gz" | tar -v -C /usr/src -x + [ -d /usr/src/linux-${VERSION} ] || curl -sSL "https://git.kernel.org/torvalds/t/linux-${VERSION}.tar.gz" | tar -v -C /usr/src -xz MAJOR_MINOR_VERSION="${MAJOR_VERSION}.x-rcN" else