Commit 1863d3b6bd0b0d4e2cff73f49f6f0be85a537fc7
1 parent
4361b403
Exists in
master
and in
2 other branches
Fixing autogen.
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
autogen.sh
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | +builddir=${PWD} | ||
4 | + | ||
3 | test -n "$srcdir" || srcdir=`dirname "$0"` | 5 | test -n "$srcdir" || srcdir=`dirname "$0"` |
4 | test -n "$srcdir" || srcdir=. | 6 | test -n "$srcdir" || srcdir=. |
5 | 7 | ||
@@ -45,6 +47,8 @@ automake --add-missing 2> /dev/null | true | @@ -45,6 +47,8 @@ automake --add-missing 2> /dev/null | true | ||
45 | 47 | ||
46 | autopoint | 48 | autopoint |
47 | 49 | ||
50 | +cd "${builddir}" | ||
51 | + | ||
48 | test -n "$NOCONFIGURE" || "$srcdir/configure" $@ | 52 | test -n "$NOCONFIGURE" || "$srcdir/configure" $@ |
49 | 53 | ||
50 | 54 |