Bob Mottram 8 anni fa
parent
commit
cdbbf0de22
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      src/freedombone

+ 2
- 2
src/freedombone Vedi File

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