=================================================================== RCS file: /cvs/openbsd/fw_update/fw_install.sh,v retrieving revision 1.66 retrieving revision 1.67 diff -u -r1.66 -r1.67 --- openbsd/fw_update/fw_install.sh 2021/12/11 03:12:21 1.66 +++ openbsd/fw_update/fw_install.sh 2021/12/11 03:25:09 1.67 @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: fw_install.sh,v 1.66 2021/12/11 03:12:21 afresh1 Exp $ +# $OpenBSD: fw_install.sh,v 1.67 2021/12/11 03:25:09 afresh1 Exp $ # # Copyright (c) 2021 Andrew Hewus Fresh # @@ -219,7 +219,6 @@ while (( i < "${#devices[@]}" )); do f="${devices[$i]}" d=$( firmware_devicename "$f" ) - [ "$f" = "$d" ] && f="$( echo "$f"-firmware-*.tgz | sed '$!d' )" if [ -e "$f" ]; then if [ "$DOWNLOADDIR" ]; then echo "Cannot download local file $f" >&2