From a205f2124649f3d92a382f7e9786367a9bb71ab3 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sun, 19 May 2013 16:36:55 -0300 Subject: iceweasel-libre: fix pgo --- libre/iceweasel-libre/PKGBUILD | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'libre') diff --git a/libre/iceweasel-libre/PKGBUILD b/libre/iceweasel-libre/PKGBUILD index 97501a647..b806c3276 100644 --- a/libre/iceweasel-libre/PKGBUILD +++ b/libre/iceweasel-libre/PKGBUILD @@ -142,13 +142,12 @@ build() { if $_pgo; then export DISPLAY=:99 Xvfb -nolisten tcp -extension GLX -screen 0 1280x1024x24 $DISPLAY & - - if ! make -f client.mk build MOZ_PGO=1; then - kill $! - return 1 - fi + _fail=0 + + make -f client.mk build MOZ_PGO=1 || _fail=1 kill $! || true + return $_fail else make -f client.mk build fi -- cgit v1.2.3-54-g00ecf