summaryrefslogtreecommitdiff
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorAhmed S. Darwish <darwish.07@gmail.com>2015-09-19 01:59:02 +0200
committerTanu Kaskinen <tanuk@iki.fi>2015-09-25 15:05:43 +0300
commit08959f83d0816fa890452550ea2f0dbd7ebf1205 (patch)
treed46d840c70e2e680ba3e56405f88c546643c9676 /bootstrap.sh
parente061f9afd2ee1a798d71b3d078725bfcea214202 (diff)
build-sys: bootstrap.sh: Do a make only if configure has succeeded
Otherwise the important configure script error messages get buried by the "make clean" output. Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index c9a083c1f..187abaa6d 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