Skip to content

Commit

Permalink
Update bits-info.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git authored Sep 26, 2024
1 parent 37ce773 commit 61c5c54
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tools/bits-info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,12 @@ check_bitness_of_pe_file()

echo '---'
echo ":_${1:?}_"
test -e "${1:?}"; echo "Exist: $?"
command -v hexdump; echo "hexdump: $?"
echo '---'
if test ! -e "${1:?}" || ! command -v hexdump; then
printf '%s\n' 'unknown'
return 1
: #printf '%s\n' 'unknown'
#return 1
fi

# More info: https://learn.microsoft.com/en-us/windows/win32/debug/pe-format
Expand Down

0 comments on commit 61c5c54

Please sign in to comment.