diff options
author | Thomas Haller <thaller@redhat.com> | 2014-07-04 17:58:03 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-07-07 09:12:38 (GMT) |
commit | c62cda91f73b418c1414cb3dc0f56af9e09ffcfd (patch) | |
tree | 5817fddaf1788e3e475677d80f0f4a58e92c4341 | |
parent | 9c2dbdfba58087fae720e2d9621423d1d184cf01 (diff) | |
download | libnl-c62cda91f73b418c1414cb3dc0f56af9e09ffcfd.zip libnl-c62cda91f73b418c1414cb3dc0f56af9e09ffcfd.tar.gz libnl-c62cda91f73b418c1414cb3dc0f56af9e09ffcfd.tar.bz2 |
build: let autogen.sh script change into top source directory
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
-rwxr-xr-x | autogen.sh | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -1,6 +1,15 @@ #!/bin/bash -autoreconf -fi; +die() { + echo "$@" >&2 + exit 1 +} + +BASEDIR="$(dirname "$0")" + +cd "$BASEDIR" || die "Could not change into base directory $BASEDIR" + +autoreconf -fi || die "Error during autoreconf" rm -Rf autom4te.cache; -doc/autogen.sh +doc/autogen.sh || die "Error during doc/autogen.sh" |