From 14875c962b5aed0d6e6c3d3c59a3c7351c3c7fe7 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 24 May 2023 08:29:43 +0100 Subject: [PATCH] Fix broken building on Windows from de154ab407 --- app/scripts/fetch_xulrunner | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/fetch_xulrunner b/app/scripts/fetch_xulrunner index 76d2743fe8..093e5b5205 100755 --- a/app/scripts/fetch_xulrunner +++ b/app/scripts/fetch_xulrunner @@ -396,7 +396,7 @@ if [ $BUILD_WIN == 1 ]; then # require binutils, which has GNU strings, but you need to build on Windows to make an # installer, so a Windows build from macOS likely isn't being deployed, and there's no # reason the Perl command above should fail anyway.) - if [[ "`uname`" != "Darwin" ]] && [[ -z "$($strings_cmd -e l xul.dll | grep -m 1 Zotero)" ]]; then + if [[ "`uname`" != "Darwin" ]] && [[ -z "$(strings -e l xul.dll | grep -m 1 Zotero)" ]]; then echo '"Zotero" not found in xul.dll after replacement' exit 1 fi