From 336b3a7deb9e0402d521fc093be627e0dff6ef52 Mon Sep 17 00:00:00 2001 From: pkr Date: Thu, 14 Nov 2024 00:36:20 +0100 Subject: [PATCH] Fix find command --- lfsSetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfsSetup.sh b/lfsSetup.sh index fd9742d..fc8f891 100755 --- a/lfsSetup.sh +++ b/lfsSetup.sh @@ -143,7 +143,7 @@ patchKernelVersion "$MAIN_VER" "$MINOR_VER" "$PATCH_VER" "$MD5_SUM" "$DIR_BOOK/p KERNEL_CONFIG="$HOME/config-$LATEST_KERNEL_VER" if [ ! -f "$KERNEL_CONFIG" ] ; then # Look for older config files in the user's home directory - CONFIG_FILE=$(find /boot "$HOME" -type f -iwholename "$HOME/config-*" -o iwholename "/boot/config-*") + CONFIG_FILE=$(find /boot "$HOME" -type f -iwholename "$HOME/config-*" -o -iwholename "/boot/config-*") if [ -z "$CONFIG_FILE" ] ; then echo "Cannot find $KERNEL_CONFIG and also no old configs found to create it." exit 4