From efa567d1b43621e25eafbba47d9abc0d87c56055 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Tue, 11 Feb 2020 16:22:31 -0800 Subject: [PATCH] devops: fix firefox preferences build on mac --- browser_patches/firefox/build.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/browser_patches/firefox/build.sh b/browser_patches/firefox/build.sh index 3c4397ce16..fe8a8793a9 100755 --- a/browser_patches/firefox/build.sh +++ b/browser_patches/firefox/build.sh @@ -37,6 +37,11 @@ else fi ./mach build -OBJ_FOLDER=$(ls -1 | grep obj-) -node ../install-preferences.js $PWD/$OBJ_FOLDER/dist/bin + +OBJ_FOLDER=$(ls -1 | grep obj-) +if [[ "$(uname)" == "Darwin" ]]; then + node ../install-preferences.js $PWD/$OBJ_FOLDER/dist +else + node ../install-preferences.js $PWD/$OBJ_FOLDER/dist/bin +fi