Skip to content

Commit

Permalink
replacechecksum: remove 0
Browse files Browse the repository at this point in the history
  • Loading branch information
lordfolken authored Aug 20, 2023
1 parent c54ff5b commit 58e8d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/replacechecksum
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ set -e
FILE="$1"
CHKSUM=$(md5sum "${1}" | cut -f1 -d" ")
CHKSUMFILE="$2"
sed "s/.* ${FILE}/${CHKSUM} ${FILE}/" -i "0${CHKSUMFILE}"
sed "s/.* ${FILE}/${CHKSUM} ${FILE}/" -i "${CHKSUMFILE}"

0 comments on commit 58e8d46

Please sign in to comment.