From 152fb77d54660a549fcb73af5eff1116314d4faf Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Tue, 21 Feb 2017 23:12:13 -0800 Subject: [PATCH] bin: fix speeling --- host/bin/switch_to_hackrf | 6 +++--- host/bin/switch_to_portapack | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/host/bin/switch_to_hackrf b/host/bin/switch_to_hackrf index 37f3ca03..511270e9 100755 --- a/host/bin/switch_to_hackrf +++ b/host/bin/switch_to_hackrf @@ -17,12 +17,12 @@ if [ -n "${ram_firmware}" ]; then printf "\nFound firmware: ${ram_firmware}\n" printf "Flashing...\n" else - printf "Unable to fine firmware to flash, please have hackrf_one_usb.dfu\n" + printf "Unable to find firmware to flash, please have hackrf_one_usb.dfu\n" printf "in current directory or /usr/share/hackrf/\n" exit 1 fi -for i in /usr/share/hackrf/hackrf_one_usb.bin /usr/share/hackrf/hckrf_one_usb_rom_to_ram.bin hackrf_one_usb.bin; do +for i in /usr/share/hackrf/hackrf_one_usb.bin /usr/share/hackrf/hackrf_one_usb_rom_to_ram.bin hackrf_one_usb.bin; do if [ -r "${i}" ]; then rom_firmware="${i}" break @@ -33,7 +33,7 @@ if [ -n "${rom_firmware}" ]; then printf "\nFound firmware: ${rom_firmware}\n" printf "Flashing...\n" else - printf "Unable to fine firmware to flash, please have hackrf_one_usb.bin\n" + printf "Unable to find firmware to flash, please have hackrf_one_usb.bin\n" printf "in current directory or /usr/share/hackrf/\n" exit 1 fi diff --git a/host/bin/switch_to_portapack b/host/bin/switch_to_portapack index f7c4372d..81728367 100755 --- a/host/bin/switch_to_portapack +++ b/host/bin/switch_to_portapack @@ -17,7 +17,7 @@ if [ -n "${ram_firmware}" ]; then printf "\nFound firmware: ${ram_firmware}\n" printf "Flashing...\n" else - printf "Unable to fine firmware to flash, please have hackrf_one_usb.dfu\n" + printf "Unable to find firmware to flash, please have hackrf_one_usb.dfu\n" printf "in current directory or /usr/share/hackrf/\n" exit 1 fi @@ -33,7 +33,7 @@ if [ -n "${rom_firmware}" ]; then printf "\nFound firmware: ${rom_firmware}\n" printf "Flashing...\n" else - printf "Unable to fine firmware to flash, please have portapack-h1-firmware.bin\n" + printf "Unable to find firmware to flash, please have portapack-h1-firmware.bin\n" printf "in current directory or /usr/share/hackrf/\n" exit 1 fi