[PATCH] bootstrap.sh: Do a make only if configure has succeeded

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2015-09-19 at 01:59 +0200, Ahmed S. Darwish wrote:
> Otherwise the important configure script error messages get buried
> by the "make clean" output.
> 
> Signed-off-by: Ahmed S. Darwish <darwish.07 at gmail.com>
> ---
>  bootstrap.sh | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/bootstrap.sh b/bootstrap.sh
> index 644d014..adaab46 100755
> --- a/bootstrap.sh
> +++ b/bootstrap.sh
> @@ -50,6 +50,6 @@ autopoint --force
>  AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
>  
>  if test "x$NOCONFIGURE" = "x"; then
> -    CFLAGS="$CFLAGS -g -O0" ./configure --sysconfdir=/etc --localstatedir=/var --enable-force-preopen "$@"
> -    make clean
> +    CFLAGS="$CFLAGS -g -O0" ./configure --sysconfdir=/etc --localstatedir=/var --enable-force-preopen "$@" && \
> +        make clean
>  fi

Thanks! Applied to the "next" branch.

-- 
Tanu


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux