From 2682f2836ea72395aedc998ea7393694dff78691 Mon Sep 17 00:00:00 2001 From: Martin Kepplinger Date: Tue, 22 May 2018 12:18:43 +0200 Subject: [PATCH] x230: fix usage of find --- x230/external_install_top.sh | 2 +- x230/x230_update.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x230/external_install_top.sh b/x230/external_install_top.sh index 7d091ad..f710078 100755 --- a/x230/external_install_top.sh +++ b/x230/external_install_top.sh @@ -87,7 +87,7 @@ if [ ! "$have_input_image" -gt 0 ] ; then fi prompt="file not specified. Please select a file to flash:" - options=( $(find -maxdepth 1 -name x230_coreboot_seabios*rom -print0 | xargs -0) ) + options=( $(find -maxdepth 1 -name "x230_coreboot_seabios*rom" -print0 | xargs -0) ) PS3="$prompt " select INPUT_IMAGE_PATH in "${options[@]}" "Quit" ; do diff --git a/x230/x230_update.sh b/x230/x230_update.sh index 3078427..cfd8d96 100755 --- a/x230/x230_update.sh +++ b/x230/x230_update.sh @@ -59,7 +59,7 @@ if [ ! "$have_input_image" -gt 0 ] ; then fi prompt="file not specified. Please select a file to flash:" - options=( $(find -maxdepth 1 -name x230_coreboot_seabios*rom -print0 | xargs -0) ) + options=( $(find -maxdepth 1 -name "x230_coreboot_seabios*rom" -print0 | xargs -0) ) PS3="$prompt " select INPUT_IMAGE_PATH in "${options[@]}" "Quit" ; do