rpmsafe: realpath fixes
[nethome.git] / bin / git-bisect-run
1 #! /bin/sh
2 # $Id: git-bisect-run,v 1.3 2010/01/23 00:14:18 jkratoch Exp $
3
4 set -ex
5 test -n "$*"
6 trap 'sleep 0;git reset --hard;git clean -dfx;exit 125' EXIT
7 git reset --hard
8 git clean -dfx
9 # patch -p1 <~/t/bisect.patch || :
10 errs12 -s --fast --disable-werror --without-python --disable-plugins $(: echo --disable-gdbserver) --disable-gold
11 #errs12 -s --fast --disable-gold
12 git reset --hard
13 trap '' EXIT
14 set +e
15 "$@" 
16 rc=$?
17 set -e
18 git reset --hard
19 #git clean -dfx
20 echo rc=$rc
21 exit $rc