From 63f72b4fcc774b0b65ed06c42da177148b7de28b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 28 Sep 2022 07:23:21 +0200 Subject: Fixup --- bootstrap | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bootstrap b/bootstrap index e88c4ca..c7b07dd 100755 --- a/bootstrap +++ b/bootstrap @@ -496,8 +496,9 @@ if [ -z "$kernel_source" ]; then mv linux-source-*/ linux xzcat linux-config-*/config.${debian_arch}_none_${debian_arch}.xz >linux/.config else - tar xf $kernel_source - mv \$(sed -re 's/(.+)\.tar\..+/\1/' <<<$kernel_source) linux + kernel_source=\$(basename $kernel_source) + tar xf \$kernel_source + mv \$(sed -re 's/(.+)\.tar\..+/\1/' <<<\$kernel_source) linux fi cd linux -- cgit v1.1