diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2022-04-19 16:16:45 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2022-04-19 16:17:01 -0700 |
commit | 39935b585f184238be648a193fb8a68f479196b1 (patch) | |
tree | 4550c55cad8f08ac716ce68bbec9c530986dec9f /sys-kernel/genkernel | |
parent | dev-scheme/bigloo: fix elisp libraries installation (diff) | |
download | gentoo-39935b585f184238be648a193fb8a68f479196b1.tar.gz gentoo-39935b585f184238be648a193fb8a68f479196b1.tar.bz2 gentoo-39935b585f184238be648a193fb8a68f479196b1.zip |
sys-kernel/genkernel: fix shellcheck error
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Fixes: https://bugs.gentoo.org/839195
Diffstat (limited to 'sys-kernel/genkernel')
-rw-r--r-- | sys-kernel/genkernel/genkernel-4.2.5.ebuild | 2 | ||||
-rw-r--r-- | sys-kernel/genkernel/genkernel-4.2.6-r2.ebuild | 2 | ||||
-rw-r--r-- | sys-kernel/genkernel/genkernel-9999.ebuild | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys-kernel/genkernel/genkernel-4.2.5.ebuild b/sys-kernel/genkernel/genkernel-4.2.5.ebuild index 0aa34f0f69da..b5ae43f5eda6 100644 --- a/sys-kernel/genkernel/genkernel-4.2.5.ebuild +++ b/sys-kernel/genkernel/genkernel-4.2.5.ebuild @@ -287,7 +287,7 @@ pkg_postinst() { fi local n_root_args=$(grep -o -- '\<root=' /proc/cmdline 2>/dev/null | wc -l) - if [[ ${n_root_args} > 1 ]] ; then + if [[ ${n_root_args} -gt 1 ]] ; then ewarn "WARNING: Multiple root arguments (root=) on kernel command-line detected!" ewarn "If you are appending non-persistent device names to kernel command-line," ewarn "next reboot could fail in case running system and initramfs do not agree" diff --git a/sys-kernel/genkernel/genkernel-4.2.6-r2.ebuild b/sys-kernel/genkernel/genkernel-4.2.6-r2.ebuild index 8095046ac8a1..c84a9987b7c4 100644 --- a/sys-kernel/genkernel/genkernel-4.2.6-r2.ebuild +++ b/sys-kernel/genkernel/genkernel-4.2.6-r2.ebuild @@ -293,7 +293,7 @@ pkg_postinst() { fi local n_root_args=$(grep -o -- '\<root=' /proc/cmdline 2>/dev/null | wc -l) - if [[ ${n_root_args} > 1 ]] ; then + if [[ ${n_root_args} -gt 1 ]] ; then ewarn "WARNING: Multiple root arguments (root=) on kernel command-line detected!" ewarn "If you are appending non-persistent device names to kernel command-line," ewarn "next reboot could fail in case running system and initramfs do not agree" diff --git a/sys-kernel/genkernel/genkernel-9999.ebuild b/sys-kernel/genkernel/genkernel-9999.ebuild index acee15e17415..4b18348406d6 100644 --- a/sys-kernel/genkernel/genkernel-9999.ebuild +++ b/sys-kernel/genkernel/genkernel-9999.ebuild @@ -288,7 +288,7 @@ pkg_postinst() { fi local n_root_args=$(grep -o -- '\<root=' /proc/cmdline 2>/dev/null | wc -l) - if [[ ${n_root_args} > 1 ]] ; then + if [[ ${n_root_args} -gt 1 ]] ; then ewarn "WARNING: Multiple root arguments (root=) on kernel command-line detected!" ewarn "If you are appending non-persistent device names to kernel command-line," ewarn "next reboot could fail in case running system and initramfs do not agree" |