diff options
-rwxr-xr-x | bootstrap | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |