Revision 39df57fa
setup.sh | ||
---|---|---|
91 | 91 |
# test for existing bonary |
92 | 92 |
if [ -f stm32flash ]; then |
93 | 93 |
printf "WARNING: stm32flash binary already exists.\n" |
94 |
read -p "Would you like to delete and rebuild it? [Y/n] " -n 1 -i "Y" -e USER_INPUT
|
|
94 |
read -p "Would you like to delete and rebuild it? [Y|n] " -n 1 -i "Y" -e USER_INPUT
|
|
95 | 95 |
if [[ $USER_INPUT =~ ^[Yy]$ ]]; then |
96 | 96 |
BUILD_STM32FLASH=true |
97 | 97 |
make clean |
Also available in: Unified diff