sh-elf-vhex - v2.0.0-rc5 : hotfix bad TTY path in read operation

*fix*
> [scripts]
  | [bootstrap] hotfix `read -r test < dev/tty` -> `read -r test < /dev/tty`
This commit is contained in:
YannMagnin 2023-12-18 18:56:01 +01:00
parent 85547d0fec
commit c44e992e64
No known key found for this signature in database
GPG Key ID: D82629D933EADC59
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ then
echo " - Compliler install at: $prefix_install"
read -p 'Process ? [yN]: ' -r valid < /dev/tty
else
read -p 'Uninstall the sh-elf-vhex compiler ? [yN]: ' -r valid < dev/tty
read -p 'Uninstall the sh-elf-vhex compiler ? [yN]: ' -r valid < /dev/tty
fi
# check if the stdin exists, which is not the case when the script is piped