Skip to content
Snippets Groups Projects
Commit 321b792f authored by Bob Mottram's avatar Bob Mottram
Browse files

Allow reset on interactive configuration

parent d20c0325
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,15 @@ if [ ! $COMPLETION_FILE ]; then
COMPLETION_FILE=$HOME/${PROJECT_NAME}-completed.txt
fi
if [[ $command_options == "menuconfig" ]]; then
if [[ $command_options == *"menuconfig"* ]]; then
if [[ $command_options == *"--reset"* ]]; then
if [ -f $CONFIGURATION_FILE ]; then
rm $CONFIGURATION_FILE
fi
if [ -f $COMPLETION_FILE ]; then
rm $COMPLETION_FILE
fi
fi
interactive_configuration
else
while [[ $# > 1 ]]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment