Skip to content

Commit d254d26

Browse files
anapsixmxcl
authored andcommitted
switching to echo to /bin/echo for pantry install
While installing `tea` on `linux/amd64` hosts, the pantry sync returns code 139, failing to complete the installation. While no such errors are generated on `linux/arm64` systems. The pantry sync is performed by passing `--sync --cd / echo` to the tea CLI. The `echo` is a shell builtin, while `/bin/echo` is a binary. Let's use the proper binary. * replacing `echo` with `/bin/echo` in `install.sh` pantry sync command Closes #148
1 parent 6ab37b3 commit d254d26

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* [`install.sh`](./install.sh) is delivered when you `curl tea.xyz`.
44
* This repository also provides the `tea` GitHub Action.
55

6-
# GitHub Action 0.16.0
6+
# GitHub Action 0.16.1
77

88
```yaml
99
- uses: teaxyz/setup@v0

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ elif command -v git >/dev/null 2>&1; then
498498
title="syncing"
499499
fi
500500

501-
gum_func spin --title "$title pantry" -- "$TEA_EXENAME" --sync --cd / echo
501+
gum_func spin --title "$title pantry" -- "$TEA_EXENAME" --sync --cd / /bin/echo
502502

503503
case $MODE in
504504
install)

0 commit comments

Comments
 (0)