bindplane-agent icon indicating copy to clipboard operation
bindplane-agent copied to clipboard

fix: install_unix.sh breaks with status code 2 in non-interactive environments

Open dithmer opened this issue 6 months ago • 1 comments

Proposed Change

The script "install_unix.sh" was not working in non-interactive shells, because there are tools used (stty and tput) for which a connected tty is mandatory. This is being fixed by a sh-compliant way of checking if the $- contains the i-flag.

Checklist
  • [x] Changes are tested
  • [x] CI has passed

dithmer avatar Aug 24 '24 13:08 dithmer