5 if test "bisect-create" = "`basename $0`" ; then
6 echo tools
/ffbisect created
7 git show master
:tools
/bisect-create
> tools
/ffbisect
8 chmod u
+x tools
/ffbisect
12 if ! git show master
:tools
/bisect-create |
diff - tools
/ffbisect
> /dev
/null
; then
13 echo updating tools
/ffbisect
script to HEAD.
14 git show master
:tools
/bisect-create
> tools
/ffbisect
15 chmod u
+x tools
/ffbisect
23 ffmpeg|ffplay|ffprobe
)
24 echo $2.c
>> tools
/bisect.need
29 echo .
> tools
/bisect.need
38 until ls `cat tools/bisect.need` > /dev
/null
2> /dev
/null
; do
39 git bisect skip ||
break
43 shift # remove "run" from arguments
44 git bisect run sh
-c "ls \`cat tools/bisect.need\` > /dev/null 2> /dev/null || exit 125; \"\$@\"" sh
"$@"