소스 검색

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