Skip to content

Commit 28f2662

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 28f2662

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)