Browse Source

tools/bisect: rename temporary file and add it to git ignore

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer 12 years ago
parent
commit
6de70d7fbf
2 changed files with 4 additions and 3 deletions
  1. 1 0
      .gitignore
  2. 3 3
      tools/bisect

+ 1 - 0
.gitignore

@@ -48,6 +48,7 @@
 /tests/vsynth1/
 /tools/aviocat
 /tools/ffbisect
+/tools/bisect.need
 /tools/cws2fws
 /tools/ffeval
 /tools/graph2dot

+ 3 - 3
tools/bisect

@@ -23,12 +23,12 @@ case "$1" in
     need)
         case $2 in
             ffmpeg|ffplay|ffprobe|ffserver)
-                echo $2.c >> need
+                echo $2.c >> tools/bisect.need
             ;;
         esac
     ;;
     start|reset)
-        echo . > need
+        echo . > tools/bisect.need
         git bisect $*
     ;;
     skip)
@@ -37,7 +37,7 @@ case "$1" in
     good|bad)
         git bisect $*
 
-        until ls `cat need` > /dev/null 2> /dev/null; do
+        until ls `cat tools/bisect.need` > /dev/null 2> /dev/null; do
             git bisect skip || break
         done
     ;;