From b2f94254cdba07658efb9052ba585ca83d7f1cfe Mon Sep 17 00:00:00 2001 From: Xie Changlong Date: Tue, 10 Apr 2018 10:26:01 +0800 Subject: build: exclude '--with-previous-options' to prevent infinite loop Reproducible Steps: 1. cd glusterfs/; rm -rf *; git reset --hard #clean repo 2. cd extras/LinuxRPM/; ./make_glusterrpms #it's ok here 3. ./make_glusterrpms #infinite loop 4. cd ../../; make distclean #infinite loop Change-Id: I162953d4576cedea7c6f6c631a77163a5cca023e updates: #439 Signed-off-by: Xie Changlong --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 190dc8f73f..474d757a66 100644 --- a/configure.ac +++ b/configure.ac @@ -381,7 +381,7 @@ AC_ARG_WITH([previous-options], ], [ if test -r ./config.status && \ args=$(grep 'ac_cs_config=' config.status | \ - sed -e 's/.*"\(.*\)".*/\1/'| sed -e "s/'//g") ; then + sed -e 's/.*"\(.*\)".*/\1/' -e "s/'//g" -e "s/--with-previous-options//g") ; then echo "###" echo "### Rerunning as '$0 $args'" echo "###" -- cgit