Skip to content

Commit

Permalink
fix: sha256: use proper command to cut (smh)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsubhranil committed Feb 12, 2022
1 parent 3496ef9 commit 49eb759
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build_c50.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ cd ..
mkdir -p images
cp openwrt-*/bin/targets/ramips/mt76x8/*.bin images/
FILENAME=openwrt-ramips-mt76x8-tplink_archer-c50-v4-squashfs-sysupgrade
sha256sum images/$FILENAME.bin | tr -f0 -d' ' > images/$FILENAME.sha256
sha256sum images/$FILENAME.bin | cut -f1 -d' ' > images/$FILENAME.sha256
wget -q https://downloads.openwrt.org/snapshots/targets/ramips/mt76x8/version.buildinfo -O images/$FILENAME.version
2 changes: 1 addition & 1 deletion build_c6u.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ cd ..
mkdir -p images
cp openwrt-*/bin/targets/ramips/mt7621/*.bin images/
FILENAME=openwrt-ramips-mt7621-tplink_archer-c6u-v1-squashfs-sysupgrade
sha256sum images/$FILENAME.bin | tr -f0 -d' ' > images/$FILENAME.sha256
sha256sum images/$FILENAME.bin | cut -f1 -d' ' > images/$FILENAME.sha256
wget -q https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/version.buildinfo -O images/$FILENAME.version

0 comments on commit 49eb759

Please sign in to comment.