From 3f0f07ac3787f0971cc33a744cdbb6f4cab229aa Mon Sep 17 00:00:00 2001 From: Hythera <87016780+Hythera@users.noreply.github.com> Date: Thu, 5 Mar 2026 14:41:55 +0100 Subject: [PATCH] fix: script interpreters and permissions, p=#12641 --- .github/workflows/src/release-build.sh | 2 +- locales/update-supported-languages.sh | 1 + scripts/download-language-packs.sh | 1 + scripts/fetch-formal-git-components.sh | 2 +- scripts/recalculate-patches.sh | 2 +- scripts/remove-failed-jobs.sh | 2 +- scripts/update-surfer.sh | 2 +- src/browser/themes/shared/zen-icons/update-resources.sh | 1 + 8 files changed, 8 insertions(+), 5 deletions(-) mode change 100644 => 100755 locales/update-supported-languages.sh mode change 100644 => 100755 scripts/download-language-packs.sh mode change 100644 => 100755 scripts/fetch-formal-git-components.sh mode change 100644 => 100755 scripts/recalculate-patches.sh mode change 100644 => 100755 scripts/remove-failed-jobs.sh mode change 100644 => 100755 scripts/update-surfer.sh diff --git a/.github/workflows/src/release-build.sh b/.github/workflows/src/release-build.sh index 853f55b3a..e553f3942 100644 --- a/.github/workflows/src/release-build.sh +++ b/.github/workflows/src/release-build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -xe diff --git a/locales/update-supported-languages.sh b/locales/update-supported-languages.sh old mode 100644 new mode 100755 index ae27a816c..43ba824b8 --- a/locales/update-supported-languages.sh +++ b/locales/update-supported-languages.sh @@ -1,3 +1,4 @@ +#!/usr/bin/env bash LANGS_FILE="./supported-languages" # Clean up the file diff --git a/scripts/download-language-packs.sh b/scripts/download-language-packs.sh old mode 100644 new mode 100755 index aa4633ef7..5945ad0b8 --- a/scripts/download-language-packs.sh +++ b/scripts/download-language-packs.sh @@ -1,3 +1,4 @@ +#!/usr/bin/env bash # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. diff --git a/scripts/fetch-formal-git-components.sh b/scripts/fetch-formal-git-components.sh old mode 100644 new mode 100755 index 527483a3f..e40322ed2 --- a/scripts/fetch-formal-git-components.sh +++ b/scripts/fetch-formal-git-components.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. diff --git a/scripts/recalculate-patches.sh b/scripts/recalculate-patches.sh old mode 100644 new mode 100755 index b03cf83ce..2bb2d5e3e --- a/scripts/recalculate-patches.sh +++ b/scripts/recalculate-patches.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. diff --git a/scripts/remove-failed-jobs.sh b/scripts/remove-failed-jobs.sh old mode 100644 new mode 100755 index f3cd7da24..a3cfd554e --- a/scripts/remove-failed-jobs.sh +++ b/scripts/remove-failed-jobs.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. diff --git a/scripts/update-surfer.sh b/scripts/update-surfer.sh old mode 100644 new mode 100755 index 7d720ab2a..157ca62d2 --- a/scripts/update-surfer.sh +++ b/scripts/update-surfer.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. diff --git a/src/browser/themes/shared/zen-icons/update-resources.sh b/src/browser/themes/shared/zen-icons/update-resources.sh index 196e7f7f6..ee4bea86a 100755 --- a/src/browser/themes/shared/zen-icons/update-resources.sh +++ b/src/browser/themes/shared/zen-icons/update-resources.sh @@ -1,3 +1,4 @@ +#!/usr/bin/env bash # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/.