Go to file
Vitaly Chikunov bf62807e8d update-kernel: Fix calculation of number of modules
This happens because `a=$(...)` assignment eats last newline, then if we `echo
"$a" | wc -l` we miss `0` lines (because there's always 1 empty line) and if we
`echo -n "$a" | wc -l` we get `n-1` lines.

So just count words instead of lines.

Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
2022-04-08 08:47:23 +03:00
.gear Revert "gear-update-tag" 2009-10-19 18:25:33 +06:00
.editorconfig Add .editorconfig 2022-04-06 01:54:45 +03:00
Dockerfile update-kernel: '--headers' to install kernel-headers 2022-04-08 04:31:17 +03:00
Makefile Makefile: Update Docker targets 2022-04-08 01:28:09 +03:00
remove-old-kernels Remove dependence on libshell 2022-04-07 08:21:47 +03:00
update-kernel update-kernel: Fix calculation of number of modules 2022-04-08 08:47:23 +03:00
update-kernel.spec 1.0.1-alt1 2022-04-08 01:33:11 +03:00