瀏覽代碼

reset option

Bob Mottram 8 年之前
父節點
當前提交
cdbbf0de22
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/freedombone

+ 2
- 2
src/freedombone 查看文件

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