Skip to content

Commit

Permalink
Merge pull request #37 from reviewdog/fix-depup-script
Browse files Browse the repository at this point in the history
fix typo in depup script
  • Loading branch information
shogo82148 authored Aug 5, 2023
2 parents e3b03df + 227a4b2 commit 97aaac9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/depup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ set -eu
# cleanup temporary directory
unset tmpdir
atexit() {
[[ -n ${tmpdir-} ]] && rm -f "$tmpdir"
[[ -n ${tmpdir-} ]] && rm -rf "$tmpdir"
}
trap atexit EXIT
trap 'rc=$?; trap - EXIT; atexit; exit $?' INT PIPE TERM

tempdir=$(mktemp -d)
tmpdir=$(mktemp -d)

# sync install.sh with https://github.com/reviewdog/action-setup
curl -sSL https://raw.githubusercontent.com/reviewdog/action-setup/master/install.sh -o "$tempdir/install.sh"
install -m 755 "$tempdir/install.sh" "$CURRENT/../install.sh"
curl -sSL https://raw.githubusercontent.com/reviewdog/action-setup/master/install.sh -o "$tmpdir/install.sh"
install -m 755 "$tmpdir/install.sh" "$CURRENT/../install.sh"

0 comments on commit 97aaac9

Please # to comment.