From 4b4ced9e6e4db767243decd6d2234619bdbe32ec Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Mon, 27 Nov 2017 14:44:58 +0000 Subject: [PATCH] chromium: don't error when setting broken= --- srcpkgs/chromium/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template index cbd9d29306c..a9352d6c04c 100644 --- a/srcpkgs/chromium/template +++ b/srcpkgs/chromium/template @@ -32,7 +32,9 @@ depends="libexif hwids desktop-file-utils hicolor-icon-theme" nostrip_files="$(vopt_if nacl 'nacl_irt_x86_64.nexe nacl_irt_x86_32.nexe')" # nacl currently makes problems with GN -[ "$build_option_nacl" ] && broken=yes +if [ -n "$build_option_nacl" ]; then + broken=yes +fi post_extract() { case "${XBPS_TARGET_MACHINE}" in