Fix configuration file filename.

This commit is contained in:
inference 2023-01-15 05:51:26 +00:00
parent 6cf60b4ed1
commit 37475beac1
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M

View File

@ -6,13 +6,13 @@
# Copyright 2023 Inference
# SPDX-License-Identifier: BSD-3-Clause-Clear
# Version: 1.0.0.7
# Version: 1.0.1.8
major=$(cat Makefile | grep "VERSION = " | sed 's/VERSION = //g')
minor=$(cat Makefile | grep "PATCHLEVEL = " | sed 's/PATCHLEVEL = //g')
patch=$(cat Makefile | grep "SUBLEVEL = " | sed 's/SUBLEVEL = //g')
localversion=$(cat config | grep "CONFIG_LOCALVERSION=" | sed 's/CONFIG_LOCALVERSION="//g' | sed 's/"//g')
localversion=$(cat .config | grep "CONFIG_LOCALVERSION=" | sed 's/CONFIG_LOCALVERSION="//g' | sed 's/"//g')
KVER=$major.$minor.$patch$localversion