Browse Source

x230: fix usage of find

pull/35/head
Martin Kepplinger 6 years ago
parent
commit
2682f2836e
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      x230/external_install_top.sh
  2. +1
    -1
      x230/x230_update.sh

+ 1
- 1
x230/external_install_top.sh View File

@ -87,7 +87,7 @@ if [ ! "$have_input_image" -gt 0 ] ; then
fi fi
prompt="file not specified. Please select a file to flash:" 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 " PS3="$prompt "
select INPUT_IMAGE_PATH in "${options[@]}" "Quit" ; do select INPUT_IMAGE_PATH in "${options[@]}" "Quit" ; do


+ 1
- 1
x230/x230_update.sh View File

@ -59,7 +59,7 @@ if [ ! "$have_input_image" -gt 0 ] ; then
fi fi
prompt="file not specified. Please select a file to flash:" 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 " PS3="$prompt "
select INPUT_IMAGE_PATH in "${options[@]}" "Quit" ; do select INPUT_IMAGE_PATH in "${options[@]}" "Quit" ; do


Loading…
Cancel
Save