From c6f923fba4bebce43ee414c1e8a7dda91f9fe2b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Wed, 6 Apr 2022 00:36:09 +0200 Subject: [PATCH] autogen.sh: explicitly build its containing directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No changes in currently-accepted usages (no-argument), but allows /src/path/autogen.sh && /src/path/configure for simpler out-of-tree builds Reviewed-by: Brian Behlendorf Signed-off-by: Ahelenia ZiemiaƄska Closes #13316 --- autogen.sh | 4 +--- 1 file changed, 1 insertion(+), 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