Skip to content

Commit 30916a5

Browse files
committed
autogen.sh: pass --force to autoreconf, quote ORIGDIR
By passing --force autoreconf will update all the aux files, which would otherwise be ignored if one updates autoconf/automake. Quote the ORIGDIR variable to prevent fall-outs, when its name contains space. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]>
1 parent a385d18 commit 30916a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autogen.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ test -z "$srcdir" && srcdir=.
66
ORIGDIR=`pwd`
77
cd "$srcdir"
88

9-
autoreconf -v --install || exit 1
10-
cd $ORIGDIR || exit $?
9+
autoreconf --force --verbose --install || exit 1
10+
cd "$ORIGDIR" || exit $?
1111

1212
if test -z "$NOCONFIGURE"; then
1313
"$srcdir"/configure "$@"

0 commit comments

Comments
 (0)