Browse Source

x230: external_install_bottom: fix detecting EN25QH64 chip

This should fix #82
pull/87/head
Martin Kepplinger 5 years ago
parent
commit
7f3276b7dc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      x230/external_install_bottom.sh

+ 1
- 1
x230/external_install_bottom.sh View File

@ -161,7 +161,7 @@ if [ ! "$have_chipname" -gt 0 ] ; then
fi
if [ ! "$chip_found" -gt 0 ] ; then
CHIPNAME=$(cat "${TEMP_DIR}"/chips | grep Found | grep "EN25QH64" | grep -o '".*"' || true)
CHIPNAME=$(cat "${TEMP_DIR}"/chips | grep Found | grep "EN25QH64" | grep -o '".*"' | grep -oP '"\K[^"\047]+(?=["\047])' || true)
if [ ! -z "${CHIPNAME}" ] ; then
chip_found=1
fi


Loading…
Cancel
Save