From 30916a5ef008a84e53d9821ccc11a0dee50fe77b Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 9 Mar 2015 11:46:07 +0000 Subject: 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 Reviewed-by: Matt Turner --- autogen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index 626d213..c896097 100755 --- a/autogen.sh +++ b/autogen.sh @@ -6,8 +6,8 @@ test -z "$srcdir" && srcdir=. ORIGDIR=`pwd` cd "$srcdir" -autoreconf -v --install || exit 1 -cd $ORIGDIR || exit $? +autoreconf --force --verbose --install || exit 1 +cd "$ORIGDIR" || exit $? if test -z "$NOCONFIGURE"; then "$srcdir"/configure "$@" -- cgit v1.1