GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools: use shasum instead of sha256sum · nodejs/node@1416b75

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tools/dep_updaters
    • utils.sh
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tools/dep_updaters/utils.sh‎

Copy file name to clipboardExpand all lines: tools/dep_updaters/utils.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ log_and_verify_sha256sum() {
1313
package_name="$1"
1414
archive="$2"
1515
checksum="$3"
16-
bsd_formatted_checksum=$(sha256sum --tag "$archive")
16+
bsd_formatted_checksum=$(shasum -a 256 --tag "$archive")
1717
if [ -z "$3" ]; then
1818
echo "$bsd_formatted_checksum"
1919
else
20-
archive_checksum=$(sha256sum "$archive")
20+
archive_checksum=$(shasum -a 256 "$archive")
2121
if [ "$checksum" = "$archive_checksum" ]; then
2222
echo "Valid $package_name checksum"
2323
echo "$bsd_formatted_checksum"

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.