On Thu, Jan 26, 2017 at 05:48:09PM +0000, Emil Velikov wrote: > From: Emil Velikov <[email protected]> > > Current code seems to work only for cases where builddir is a > subdirectory of the src one. So if one has builddir in a separate > folder (say in $srcdir/../) and the parent directory is a git > repository we'll incorrectly set the git config. > > Move the git config line(s) where applicable, which gives us the nice > side effect of doing that even if autoreconf fails. > > Cc: Peter Hutterer <[email protected]> > Signed-off-by: Emil Velikov <[email protected]>
argh, and that comes in right after I processed all repos :( makes sense though, I'll push this out to everything soonish. bonus points for giving me a script to do this instead of a patch that I have to adjust on every repo. Cheers, Peter > --- > autogen.sh | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/autogen.sh b/autogen.sh > index a703224..fe4d322 100755 > --- a/autogen.sh > +++ b/autogen.sh > @@ -6,12 +6,12 @@ test -z "$srcdir" && srcdir=. > ORIGDIR=`pwd` > cd "$srcdir" > > -autoreconf -v --install || exit 1 > -cd "$ORIGDIR" || exit $? > - > git config --local --get format.subjectPrefix >/dev/null 2>&1 || > git config --local format.subjectPrefix "PATCH util/macros" > > +autoreconf -v --install || exit 1 > +cd "$ORIGDIR" || exit $? > + > if test -z "$NOCONFIGURE"; then > exec "$srcdir"/configure "$@" > fi > -- > 2.11.0 > _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
