tools/bisect: rename temporary file and add it to git ignore
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 3 Jul 2012 11:57:15 +0000 (13:57 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 7 Jul 2012 11:15:01 +0000 (13:15 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
.gitignore
tools/bisect

index ac5b7cc..77c9859 100644 (file)
@@ -48,6 +48,7 @@
 /tests/vsynth1/
 /tools/aviocat
 /tools/ffbisect
+/tools/bisect.need
 /tools/cws2fws
 /tools/ffeval
 /tools/graph2dot
index f840243..f03e47c 100755 (executable)
@@ -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
     ;;