Skip to content

Commit

Permalink
SFT-2294: first pass fix of whitespace trimming of md5
Browse files Browse the repository at this point in the history
  • Loading branch information
mjg-foundation committed Jun 15, 2023
1 parent 825fbef commit 046b7a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ports/stm32/Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,7 @@ hash filepath screen="mono" output_file="":
echo "$sha" > ${directory}/${release_name}-sha256
# MD5
md5=`mdsum {{filepath}} | sed -rn 's/^(.*) .*$/\1/p'`
md5=${md5::-1}
md5=`mdsum {{filepath}} | sed -rn 's/^(.*) .*$/\1/p' | xargs`
echo "$md5" > ${directory}/${release_name}-md5
# Build Hash
Expand Down

0 comments on commit 046b7a8

Please sign in to comment.