summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-07-24 16:15:33 (GMT)
committerThomas Haller <thaller@redhat.com>2023-07-24 16:19:50 (GMT)
commitd411b88d54ea2c2d4369319fd10d7fa5915c6327 (patch)
tree3b4239cd97ee5ca923bb164c1dd0aba91aeae02c
parent2fa73ce04788120470dcfda2710f8727dc2cf97b (diff)
downloadlibnl-d411b88d54ea2c2d4369319fd10d7fa5915c6327.zip
libnl-d411b88d54ea2c2d4369319fd10d7fa5915c6327.tar.gz
libnl-d411b88d54ea2c2d4369319fd10d7fa5915c6327.tar.bz2
build: change proper working directory in "doc/autogen.sh"
-rwxr-xr-xdoc/autogen.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/autogen.sh b/doc/autogen.sh
index 1122a8e..a147e93 100755
--- a/doc/autogen.sh
+++ b/doc/autogen.sh
@@ -2,5 +2,9 @@
set -e
+BASEDIR="$(dirname "$0")"
+
+cd "$BASEDIR" || die "Could not change into base directory $BASEDIR"
+
autoreconf -fi
rm -rf autom4te.cache