aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-07-12 23:06:53 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-07-14 11:29:10 +0200
commitd0e76cd8e8dd9d1cc70245f8c8ff4d5959409b96 (patch)
tree2cd9687cf171a8fe243b279cbe424850f21bb601 /genkernel
parentgen_funcs.sh: Strip 'function' keyword to match code style (diff)
downloadgenkernel-d0e76cd8e8dd9d1cc70245f8c8ff4d5959409b96.tar.gz
genkernel-d0e76cd8e8dd9d1cc70245f8c8ff4d5959409b96.tar.bz2
genkernel-d0e76cd8e8dd9d1cc70245f8c8ff4d5959409b96.zip
Replace backticks
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'genkernel')
-rwxr-xr-xgenkernel3
1 files changed, 2 insertions, 1 deletions
diff --git a/genkernel b/genkernel
index f1f09bb3..3337dbc6 100755
--- a/genkernel
+++ b/genkernel
@@ -399,7 +399,8 @@ then
CONFGREP=grep
fi
- if [ `${CONFGREP} 'CONFIG_EXT[0-9]_FS=' "${KERNEL_CONFIG}" | wc -l` -ge 2 ]; then
+ if [ $(${CONFGREP} 'CONFIG_EXT[0-9]_FS=' "${KERNEL_CONFIG}" | wc -l) -ge 2 ]
+ then
print_warning 1 'With support for several ext* filesystems available, it may be needed to'
print_warning 1 'add "rootfstype=ext3" or "rootfstype=ext4" to the list of boot parameters.'
fi