mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-11 22:05:23 +01:00
Some shellcheck fixes.
This commit is contained in:
parent
ef0030bbf3
commit
6c4b98a17a
37 changed files with 90 additions and 93 deletions
|
|
@ -56,7 +56,7 @@ src_install() {
|
|||
VERSION=5
|
||||
PATCHLEVEL=10
|
||||
SUBLEVEL=42
|
||||
VERSION_CODE="$((${VERSION} * 65536 + ${PATCHLEVEL} * 256 + ${SUBLEVEL}))"
|
||||
VERSION_CODE="$((VERSION * 65536 + PATCHLEVEL * 256 + SUBLEVEL))"
|
||||
echo '#define LINUX_VERSION_CODE '"${VERSION_CODE}" \
|
||||
> "${DESTDIR}${PREFIX}/include/linux/version.h"
|
||||
echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + ((c) > 255 ? 255 : (c)))' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue