summaryrefslogtreecommitdiffstats
path: root/generate_bls_conf.sh
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2020-12-14 09:02:23 -0600
committerJustin M. Forbes <jforbes@fedoraproject.org>2020-12-14 09:02:23 -0600
commit952ed53b8dc02307ae140982548522d049e0bca5 (patch)
treedce1f55251f5deb95f6f4a53be4d5e3f11c36a9a /generate_bls_conf.sh
parent39cafd66089878f3d0d997260f1d0b1ede356e0d (diff)
downloadkernel-952ed53b8dc02307ae140982548522d049e0bca5.tar.gz
kernel-952ed53b8dc02307ae140982548522d049e0bca5.tar.xz
kernel-952ed53b8dc02307ae140982548522d049e0bca5.zip
kernel-5.10.0-98
* Mon Dec 14 2020 Justin M. Forbes <jforbes@fedoraproject.org> [5.10.0-98] - Add missing '$' sign to (GIT) in redhat/Makefile (Augusto Caringi) Resolves: rhbz# Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to 'generate_bls_conf.sh')
-rwxr-xr-xgenerate_bls_conf.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/generate_bls_conf.sh b/generate_bls_conf.sh
index 03b21821f..f8415db24 100755
--- a/generate_bls_conf.sh
+++ b/generate_bls_conf.sh
@@ -1,7 +1,6 @@
#!/bin/bash
set -e
-# shellcheck disable=SC1091
. /etc/os-release
kernelver=$1 && shift
@@ -19,10 +18,7 @@ else
debugid=""
fi
-# shellcheck will complain about bootprefix being referenced but not assigned,
-# but that is perfectly OK here.
-# shellcheck disable=SC2154
-cat > "$output" <<EOF
+cat >${output} <<EOF
title ${NAME} (${kernelver}) ${VERSION}${debugname}
version ${kernelver}${debugid}
linux ${bootprefix}/vmlinuz-${kernelver}