Allow reset on interactive configuration
This commit is contained in:
parent
d20c032518
commit
321b792f35
|
@ -74,7 +74,15 @@ if [ ! $COMPLETION_FILE ]; then
|
||||||
COMPLETION_FILE=$HOME/${PROJECT_NAME}-completed.txt
|
COMPLETION_FILE=$HOME/${PROJECT_NAME}-completed.txt
|
||||||
fi
|
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
|
interactive_configuration
|
||||||
else
|
else
|
||||||
while [[ $# > 1 ]]
|
while [[ $# > 1 ]]
|
||||||
|
|
Loading…
Reference in New Issue