Bob Mottram před 9 roky
rodič
revize
cdbbf0de22
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2
    2
      src/freedombone

+ 2
- 2
src/freedombone Zobrazit soubor

@@ -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