Skip to content

Commit

Permalink
update codegen to replace md5sum with md5 for cross-platform compat (#…
Browse files Browse the repository at this point in the history
…3615)

OKTA-724565 chore: update codegen to replace md5sum with md5 for cross-platform compat
  • Loading branch information
lesterchoi-okta committed Apr 30, 2024
1 parent b05ca9e commit 3aa6bef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ first () {
# input: packages/@okta/i18n
# output: d39d70a51af9ccba5710a089f87a4470 packages/@okta/i18n
dir-sum () (
SUM=$(tar -cf - $@ | md5sum)
TMP=$(mktemp)
tar -cf - $@ > $TMP
SUM=$(md5 -q $TMP)
echo "$SUM $@"
)

Expand Down

0 comments on commit 3aa6bef

Please sign in to comment.