X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=bin%2Fgit-bisect-run;h=ae225fc31882a5f624815b6cee4f79fc60e69419;hb=19287ef3748afebf4a5151d9b9a7a7471595f8b7;hp=7bcf12f49735955ef9b4928804aa2ba6b609c285;hpb=1ad723c3e8e1b30ef6489984d7d17358faac1aaf;p=nethome.git diff --git a/bin/git-bisect-run b/bin/git-bisect-run index 7bcf12f..ae225fc 100755 --- a/bin/git-bisect-run +++ b/bin/git-bisect-run @@ -2,10 +2,17 @@ # $Id$ set -ex -trap 'exit 125' EXIT +test -n "$*" +trap 'git reset --hard;git clean -df;exit 125' EXIT git reset --hard git clean -df -errs1 -s --fast --disable-werror -errs2 +errs12 -s --fast --disable-werror --without-python --disable-plugins trap '' EXIT -exec "$@" +set +e +"$@" +rc=$? +set -e +#git reset --hard +#git clean -df +echo rc=$rc +exit $rc