Skip to content

Commit

Permalink
Merge pull request #39 from k1LoW/freeze-host-re
Browse files Browse the repository at this point in the history
Fix omissions
  • Loading branch information
k1LoW authored Jul 4, 2023
2 parents 64c3ff3 + ebb6e3b commit a5d1826
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gh-grep
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e

repo="k1LoW/gh-grep"
repo="github.com/k1LoW/gh-grep"
tag="$(gh release list -R github.com/k1LoW/gh-grep --limit 1 | cut -f 1)"

extensionPath="$(dirname "$0")"
Expand Down Expand Up @@ -40,7 +40,7 @@ else
if [[ ! -x "${extensionPath}/bin/${exe}" ]]; then
mkdir -p "${extensionPath}/bin"
rm -f "${extensionPath}/bin/*"
gh release -R"${repo}" download "${tag}" -p "${exe}" --dir="${extensionPath}/bin"
gh release -R "${repo}" download "${tag}" -p "${exe}" --dir="${extensionPath}/bin"
chmod +x "${extensionPath}/bin/${exe}"
fi
fi
Expand Down

0 comments on commit a5d1826

Please sign in to comment.