aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index 488e913b2..f56cd68be 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,4 +1,2 @@
#!/bin/sh
-
-autoreconf -fiv || exit 1
-rm -Rf autom4te.cache
+autoreconf -fiv "$(dirname "$0")" && rm -rf "$(dirname "$0")"/autom4te.cache