Skip to content

Commit

Permalink
Fix setting the PATH symlink to a precise version
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Jan 4, 2023
1 parent b233371 commit 320fa5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[`install.sh`](./install.sh) is delivered when you `curl tea.xyz`.

# GitHub Action 0.10.0
# GitHub Action 0.10.1

This repository also provides the `tea` GitHub Action.

Expand Down
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,8 @@ if ! test -f "$TEA_DESTDIR/tea.xyz/v$TEA_VERSION/bin/tea"; then
else
fix_links # be proactive in repairing the user installation just in case that's what they ran this for
TEA_IS_CURRENT=1
TEA_EXENAME="$TEA_DESTDIR/tea.xyz/v$TEA_VERSION/bin/tea"
TEA_VERSION_MAJOR="$(echo "$TEA_VERSION" | cut -d. -f1)"
TEA_EXENAME="$TEA_DESTDIR/tea.xyz/v$TEA_VERSION_MAJOR/bin/tea"
fi

if ! test -d "$TEA_DESTDIR/tea.xyz/var/pantry"; then
Expand Down

0 comments on commit 320fa5c

Please sign in to comment.