Skip to content

Commit

Permalink
_tools/buildall.sh: Don't use input redirection with sha256sum.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaq committed Sep 25, 2018
1 parent 30e26e1 commit c5b8219
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _tools/buildall.sh
Expand Up @@ -61,8 +61,8 @@ buildone() {
if which sha256sum; then
(
cd $DST_DIR
sha256sum < $BIN > $BIN.sha256sum
sha256sum < $ARCHIVE > $ARCHIVE.sha256sum
sha256sum $BIN > $BIN.sha256sum
sha256sum $ARCHIVE > $ARCHIVE.sha256sum
)
echo $GOOS-$GOARCH/$BIN.sha256sum >> $MANIFEST
echo $GOOS-$GOARCH/$ARCHIVE.sha256sum >> $MANIFEST
Expand Down

0 comments on commit c5b8219

Please sign in to comment.