diff --git a/autogen.sh b/autogen.sh index 488e913b2bf4..f56cd68be3ac 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