From 059cd2a9c970edd26b1c49e0d19b63e01ec1d95e Mon Sep 17 00:00:00 2001 From: R4SAS Date: Mon, 21 Jun 2021 17:09:32 +0300 Subject: [PATCH] workaround for OpenBSD Signed-off-by: R4SAS Former-commit-id: fa0e02f1d6c35ce36a4d5835671b8cac2f8d62d8 --- linux/build/build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/linux/build/build b/linux/build/build index 0876a0b..8df754c 100755 --- a/linux/build/build +++ b/linux/build/build @@ -16,6 +16,10 @@ version="78.11.0esr" application="firefox" ftpmirror="https://ftp.mozilla.org/pub/$application/releases/$version" +if [ "$arch" == "amd64" ]; then # OpenBSD (and maybe FreeBSD) returns amd64 as architecture instead x86_64 + arch=x86_64 +fi + curlfind=$(which curl) if [ -z $curlfind ]; then echo "'cURL' does not seem to be installed. The script needs it!"