Fix output "Configuration_prusa.h" delay if compiling failed.
This commit is contained in:
parent
a5ba666af0
commit
7651fbb0d1
@ -731,7 +731,9 @@ do
|
||||
cp -f $SCRIPT_PATH/Firmware/variants/$VARIANT.h $SCRIPT_PATH/Firmware/Configuration_prusa.h || exit 29
|
||||
else
|
||||
echo "$(tput setaf 6)Configuration_prusa.h already exist it will be overwritten in 10 seconds by the chosen variant.$(tput sgr 0)"
|
||||
read -t 10 -p "Press Enter to continue..."
|
||||
if [ $OUTPUT == "1" ] ; then
|
||||
read -t 10 -p "Press Enter to continue..."
|
||||
fi
|
||||
cp -f $SCRIPT_PATH/Firmware/variants/$VARIANT.h $SCRIPT_PATH/Firmware/Configuration_prusa.h || exit 29
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user