Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git committed Oct 30, 2024
1 parent af6aabc commit 1ea5433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/bits-info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ detect_hex_dump_cmd()
{
if command 1> /dev/null 2>&1 -v 'xxd'; then
printf '%s\n' 'xxd'
elif command 1> /dev/null 2>&1 -v 'hexdump' && test "$(printf ' ' | hexdump 2> /dev/null -e '/1 "%02x"' || :)" = '20'; then
elif command 1> /dev/null 2>&1 -v 'hexdump' && test "$(printf ' ' | hexdump 2> /dev/null -v -e '/1 "%02x"' || :)" = '20'; then
printf '%s\n' 'hexdump'
elif command 1> /dev/null 2>&1 -v 'od'; then
printf '%s\n' 'od'
Expand Down

0 comments on commit 1ea5433

Please sign in to comment.