reset option

This commit is contained in:
Bob Mottram 2016-10-15 17:13:22 +01:00
parent 321b792f35
commit cdbbf0de22
1 changed files with 2 additions and 2 deletions

View File

@ -74,8 +74,8 @@ if [ ! $COMPLETION_FILE ]; then
COMPLETION_FILE=$HOME/${PROJECT_NAME}-completed.txt
fi
if [[ $command_options == *"menuconfig"* ]]; then
if [[ $command_options == *"--reset"* ]]; then
if [[ $command_options == "menuconfig" ]]; then
if [[ "$2" == "--reset" ]]; then
if [ -f $CONFIGURATION_FILE ]; then
rm $CONFIGURATION_FILE
fi