Skip to content

Commit

Permalink
fix: correct archive file name
Browse files Browse the repository at this point in the history
  • Loading branch information
benpueschel committed Aug 7, 2024
1 parent 34e0a27 commit fbd0c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ echo "$(cat $SHA256) *$ARCHIVE" | shasum -ca 256
if [ $? -ne 0 ]; then exit 1; fi

# find the gritty binary in the archive
BINARY=$(tar ztf gritty-v0.8.0-x86_64-unknown-linux-gnu.tar.gz | grep '/gritty')
BINARY=$(tar ztf "$ARCHIVE" | grep '/gritty')

# extract the binary from the archive and don't expand into a folder, instead
# extract the binary directly into the current directory (./gritty)
Expand Down

0 comments on commit fbd0c25

Please sign in to comment.