From 5552e1f864b290d9b9674dbdf5f5bb8c21744dc7 Mon Sep 17 00:00:00 2001 From: XMRig Date: Thu, 21 Mar 2024 02:13:01 +0700 Subject: [PATCH] Fix scripts for systems without bash. --- scripts/build.hwloc.sh | 2 +- scripts/build.hwloc1.sh | 2 +- scripts/build.libressl.sh | 2 +- scripts/build.openssl.sh | 2 +- scripts/build.openssl3.sh | 2 +- scripts/build.uv.sh | 2 +- scripts/build_deps.sh | 2 +- scripts/enable_1gb_pages.sh | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/build.hwloc.sh b/scripts/build.hwloc.sh index 077d87b8c..db85fb6fc 100755 --- a/scripts/build.hwloc.sh +++ b/scripts/build.hwloc.sh @@ -1,4 +1,4 @@ -#!/bin/bash -e +#!/bin/sh -e HWLOC_VERSION_MAJOR="2" HWLOC_VERSION_MINOR="10" diff --git a/scripts/build.hwloc1.sh b/scripts/build.hwloc1.sh index f1afc2856..825727433 100755 --- a/scripts/build.hwloc1.sh +++ b/scripts/build.hwloc1.sh @@ -1,4 +1,4 @@ -#!/bin/bash -e +#!/bin/sh -e HWLOC_VERSION="1.11.13" diff --git a/scripts/build.libressl.sh b/scripts/build.libressl.sh index d32c04fa4..6dde9faa3 100755 --- a/scripts/build.libressl.sh +++ b/scripts/build.libressl.sh @@ -1,4 +1,4 @@ -#!/bin/bash -e +#!/bin/sh -e LIBRESSL_VERSION="3.5.2" diff --git a/scripts/build.openssl.sh b/scripts/build.openssl.sh index a89b281fa..722e11b5f 100755 --- a/scripts/build.openssl.sh +++ b/scripts/build.openssl.sh @@ -1,4 +1,4 @@ -#!/bin/bash -e +#!/bin/sh -e OPENSSL_VERSION="1.1.1s" diff --git a/scripts/build.openssl3.sh b/scripts/build.openssl3.sh index 70e989f77..e42fcac08 100755 --- a/scripts/build.openssl3.sh +++ b/scripts/build.openssl3.sh @@ -1,4 +1,4 @@ -#!/bin/bash -e +#!/bin/sh -e OPENSSL_VERSION="3.0.13" diff --git a/scripts/build.uv.sh b/scripts/build.uv.sh index 3a016a2ab..ca052f7a5 100755 --- a/scripts/build.uv.sh +++ b/scripts/build.uv.sh @@ -1,4 +1,4 @@ -#!/bin/bash -e +#!/bin/sh -e UV_VERSION="1.48.0" diff --git a/scripts/build_deps.sh b/scripts/build_deps.sh index c294f9699..d244665f1 100755 --- a/scripts/build_deps.sh +++ b/scripts/build_deps.sh @@ -1,4 +1,4 @@ -#!/bin/bash -e +#!/bin/sh -e ./build.uv.sh ./build.hwloc.sh diff --git a/scripts/enable_1gb_pages.sh b/scripts/enable_1gb_pages.sh index 16d889f18..a1fb4c611 100755 --- a/scripts/enable_1gb_pages.sh +++ b/scripts/enable_1gb_pages.sh @@ -1,4 +1,4 @@ -#!/bin/bash -e +#!/bin/sh -e # https://xmrig.com/docs/miner/hugepages#onegb-huge-pages