[FFmpeg-cvslog] tools/bisect: rename to tools/bisect-create
Michael Niedermayer
git at videolan.org
Sat Jul 7 15:03:40 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jul 7 14:49:44 2012 +0200| [dadfd2a525bb8d6be4fe7bef8d803efa10371f3a] | committer: Michael Niedermayer
tools/bisect: rename to tools/bisect-create
Idea-by: Alexander Strasser
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dadfd2a525bb8d6be4fe7bef8d803efa10371f3a
---
tools/{bisect => bisect-create} | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/tools/bisect b/tools/bisect-create
similarity index 61%
rename from tools/bisect
rename to tools/bisect-create
index f03e47c..6442b5c 100755
--- a/tools/bisect
+++ b/tools/bisect-create
@@ -2,18 +2,16 @@
set -e
-if test "bisect" = "`basename $0`" ; then
- echo WARNING, trying to execute tools/bisect directly this cannot work as
- echo the script itself would not be available in older checkouts
- echo please use tools/ffbisect
- git show master:tools/bisect > tools/ffbisect
+if test "bisect-create" = "`basename $0`" ; then
+ echo tools/ffbisect created
+ git show master:tools/bisect-create > tools/ffbisect
chmod u+x tools/ffbisect
exit 1
fi
-if ! git show master:tools/bisect | diff - tools/ffbisect > /dev/null ; then
+if ! git show master:tools/bisect-create | diff - tools/ffbisect > /dev/null ; then
echo updating tools/ffbisect script to HEAD.
- git show master:tools/bisect > tools/ffbisect
+ git show master:tools/bisect-create > tools/ffbisect
chmod u+x tools/ffbisect
tools/ffbisect $*
exit 0
More information about the ffmpeg-cvslog
mailing list