From 767927bf16dbd6a5ad522a67735c2cb7dce6552c Mon Sep 17 00:00:00 2001 From: Marc Durdin Date: Mon, 25 Jul 2022 14:59:37 +1000 Subject: [PATCH] chore(common): use /usr/bin/env bash Fixes up scripts (except under /linux) to use `#!/usr/bin/env bash` instead of `#!/bin/bash` or `#!/bin/sh` so that we don't end up with the ancient version of bash supplied with macOS. This became urgent with this PR, because of bash-4.xisms in build-utils.sh, for example on line 572: ``` if [[ -v _builder_params[$e] ]]; then ``` --- android/KMAPro/build.sh | 2 +- android/KMEA/build.sh | 2 +- android/Samples/KMSample1/build.sh | 2 +- android/Tests/KeyboardHarness/build.sh | 2 +- android/build-help.sh | 2 +- android/build-publish.sh | 2 +- android/build.sh | 2 +- android/utility/i18n-check-unused-strings.sh | 4 ++-- common/models/types/build.sh | 2 +- common/predictive-text/build.sh | 2 +- common/predictive-text/docs/build.sh | 2 +- common/web/input-processor/test.sh | 2 +- common/web/keyboard-processor/test.sh | 2 +- common/web/utils/build.sh | 2 +- common/windows/mkver.sh | 2 +- configure-repo.sh | 2 +- core/gettier.sh | 2 +- core/getversion.sh | 2 +- developer/src/kmlmc/build.sh | 2 +- developer/src/server/postbuild.sh | 2 +- ios/build-help.sh | 2 +- ios/build.sh | 2 +- ios/i18n-export.sh | 2 +- ios/samples/KMSample1/build.sh | 2 +- ios/samples/KMSample2/build.sh | 2 +- mac/Keyman4MacIM/localdeploy.sh | 4 ++-- mac/Keyman4MacIM/make-km-dmg.sh | 2 +- mac/Keyman4MacIM/write-download_info.sh | 2 +- mac/bashHelperFunctions.sh | 2 +- mac/build-help.sh | 2 +- mac/build.sh | 2 +- mac/is_same_version.sh | 4 ++-- mac/setup/build.sh | 2 +- mac/setup/textinputsource/build.sh | 2 +- oem/firstvoices/android/build.sh | 2 +- oem/firstvoices/android/build_common.sh | 2 +- oem/firstvoices/common/build_csv_languages.sh | 2 +- oem/firstvoices/common/build_keyboards.sh | 2 +- oem/firstvoices/ios/build.sh | 2 +- resources/build/build-download-resources.sh | 2 +- resources/build/help-keyman-com.sh | 2 +- resources/build/history/history-utils.sh | 4 ++-- resources/build/history/validate-all-history.sh | 2 +- resources/build/increment-version.sh | 2 +- resources/build/jq.inc.sh | 2 +- resources/build/sentry-control.inc.sh | 2 +- resources/build/trigger-builds.inc.sh | 2 +- resources/build/trigger-definitions.inc.sh | 2 +- resources/build/xcode-utils.sh | 2 +- resources/gosh/gosh.sh | 2 +- resources/shellHelperFunctions.sh | 2 +- web/tools/s_keyman_com.sh | 2 +- windows/src/desktop/help/build.sh | 2 +- windows/src/desktop/locale/crowdin-control.sh | 2 +- .../i18n-check-unused-strings/i18n-check-unused-strings.sh | 2 +- 55 files changed, 59 insertions(+), 59 deletions(-) diff --git a/android/KMAPro/build.sh b/android/KMAPro/build.sh index a3ea28620b..661703485f 100755 --- a/android/KMAPro/build.sh +++ b/android/KMAPro/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Build KMAPro # Set sensible script defaults: diff --git a/android/KMEA/build.sh b/android/KMEA/build.sh index 92ae4db72e..0bfe1b4f47 100755 --- a/android/KMEA/build.sh +++ b/android/KMEA/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Build Keyman Engine Android using Keyman Web artifacts # # Abbreviations: diff --git a/android/Samples/KMSample1/build.sh b/android/Samples/KMSample1/build.sh index 44c7d01993..9bb3300c7d 100755 --- a/android/Samples/KMSample1/build.sh +++ b/android/Samples/KMSample1/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Build KMSample1 set -e diff --git a/android/Tests/KeyboardHarness/build.sh b/android/Tests/KeyboardHarness/build.sh index 0c1cce9be5..331c28aa07 100755 --- a/android/Tests/KeyboardHarness/build.sh +++ b/android/Tests/KeyboardHarness/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Build KeyboardHarness test app diff --git a/android/build-help.sh b/android/build-help.sh index 0b47159633..04f0efa274 100755 --- a/android/build-help.sh +++ b/android/build-help.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Set sensible script defaults: # set -e: Terminate script if a command returns an error diff --git a/android/build-publish.sh b/android/build-publish.sh index 3cce36b910..4acb3c06ba 100755 --- a/android/build-publish.sh +++ b/android/build-publish.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # CI script to publish specified app APKs to the Play Store. # The APKs should already have been built from a separate script diff --git a/android/build.sh b/android/build.sh index 9a8c235823..d03c73432d 100755 --- a/android/build.sh +++ b/android/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Build Keyman Engine for Android, Keyman for Android, and FirstVoices Android app # Use '-clean' flag to clean build artifacts (won't do other build steps) diff --git a/android/utility/i18n-check-unused-strings.sh b/android/utility/i18n-check-unused-strings.sh index 0b9104c3b4..7da2bb1511 100755 --- a/android/utility/i18n-check-unused-strings.sh +++ b/android/utility/i18n-check-unused-strings.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Based on /windows/src/test/i18n-check-unused-strings # @@ -15,7 +15,7 @@ # build artifacts. Because of this, and because the script takes a little while to run, # I'm not adding the script to the standard build at this time. # -# Note: strings that aren't expected to be found generally should have `translateable="false"`` so they don't get +# Note: strings that aren't expected to be found generally should have `translateable="false"`` so they don't get # translated in crowdin. # diff --git a/common/models/types/build.sh b/common/models/types/build.sh index d0d98c7633..018eef190f 100755 --- a/common/models/types/build.sh +++ b/common/models/types/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Packages the @keymanapp/models-types package. # diff --git a/common/predictive-text/build.sh b/common/predictive-text/build.sh index 4d9272e895..cbaef012d5 100755 --- a/common/predictive-text/build.sh +++ b/common/predictive-text/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Compiles the Language Modeling Layer for common use in predictive text and autocorrective applications. # Designed for optimal compatibility with the Keyman Suite. diff --git a/common/predictive-text/docs/build.sh b/common/predictive-text/docs/build.sh index dc2aec4abd..168f637ea3 100755 --- a/common/predictive-text/docs/build.sh +++ b/common/predictive-text/docs/build.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # The diagram is built using the Graphviz suite. # You can get it with most package managers, e.g., diff --git a/common/web/input-processor/test.sh b/common/web/input-processor/test.sh index 2fab0c421b..85a1b36103 100755 --- a/common/web/input-processor/test.sh +++ b/common/web/input-processor/test.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -eu diff --git a/common/web/keyboard-processor/test.sh b/common/web/keyboard-processor/test.sh index 2d86e09d26..e6d0fa74c0 100755 --- a/common/web/keyboard-processor/test.sh +++ b/common/web/keyboard-processor/test.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -eu diff --git a/common/web/utils/build.sh b/common/web/utils/build.sh index 9b51e636d6..803cd1a257 100755 --- a/common/web/utils/build.sh +++ b/common/web/utils/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Compiles common TS-based utility functions for use among Keyman's codebase set -eu diff --git a/common/windows/mkver.sh b/common/windows/mkver.sh index ab7460c715..b5c82429f2 100644 --- a/common/windows/mkver.sh +++ b/common/windows/mkver.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Set sensible script defaults: # set -e: Terminate script if a command returns an error diff --git a/configure-repo.sh b/configure-repo.sh index 17202a1930..3b7b59452e 100755 --- a/configure-repo.sh +++ b/configure-repo.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Setup git hooks in this or all repositories. diff --git a/core/gettier.sh b/core/gettier.sh index 8f468a9dad..cd14fd5ca7 100755 --- a/core/gettier.sh +++ b/core/gettier.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Get the tier from TIER.md # When building from a Linux source package, `TIER.md` is in the # same directory as this script. diff --git a/core/getversion.sh b/core/getversion.sh index 317b693d02..294d292445 100755 --- a/core/getversion.sh +++ b/core/getversion.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Get the version number from VERSION.md # When building from a Linux source package, `VERSION.md` is in the # same directory as this script. diff --git a/developer/src/kmlmc/build.sh b/developer/src/kmlmc/build.sh index 09fced95eb..9d229e1195 100755 --- a/developer/src/kmlmc/build.sh +++ b/developer/src/kmlmc/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Compiles the developer tools, including the language model compilers. # diff --git a/developer/src/server/postbuild.sh b/developer/src/server/postbuild.sh index f2078d0038..d9683ee4bf 100755 --- a/developer/src/server/postbuild.sh +++ b/developer/src/server/postbuild.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # postbuild script run by npm during/after a build # diff --git a/ios/build-help.sh b/ios/build-help.sh index d1e63402f4..a03a31a88b 100755 --- a/ios/build-help.sh +++ b/ios/build-help.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Set sensible script defaults: # set -e: Terminate script if a command returns an error diff --git a/ios/build.sh b/ios/build.sh index cafa08be4a..4a7f87a31a 100755 --- a/ios/build.sh +++ b/ios/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e # set -x diff --git a/ios/i18n-export.sh b/ios/i18n-export.sh index cac8637f1b..12d5b0e5a3 100755 --- a/ios/i18n-export.sh +++ b/ios/i18n-export.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## START STANDARD BUILD SCRIPT INCLUDE # adjust relative paths as necessary diff --git a/ios/samples/KMSample1/build.sh b/ios/samples/KMSample1/build.sh index 8e92903642..21e79a79e6 100755 --- a/ios/samples/KMSample1/build.sh +++ b/ios/samples/KMSample1/build.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash TARGET=KMSample1 source ../build_common.sh diff --git a/ios/samples/KMSample2/build.sh b/ios/samples/KMSample2/build.sh index 0b0f57227a..a0ad47b501 100755 --- a/ios/samples/KMSample2/build.sh +++ b/ios/samples/KMSample2/build.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash TARGET=KMSample2 source ../build_common.sh diff --git a/mac/Keyman4MacIM/localdeploy.sh b/mac/Keyman4MacIM/localdeploy.sh index 692f0fca1c..6b56f7fc3e 100755 --- a/mac/Keyman4MacIM/localdeploy.sh +++ b/mac/Keyman4MacIM/localdeploy.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Please note that this build script (understandably) assumes that it is running on Mac OS X. if [[ "${OSTYPE}" != "darwin"* ]]; then @@ -30,7 +30,7 @@ KM4MIM_APP_PATH="$1/$KMIM_APPNAME" if ! [[ -d "$KM4MIM_APP_PATH" ]]; then display_usage fi - + pid=$(pgrep Keyman) if [[ -n $pid ]]; then kill $pid diff --git a/mac/Keyman4MacIM/make-km-dmg.sh b/mac/Keyman4MacIM/make-km-dmg.sh index 73f7e2bb32..c92a59ae99 100755 --- a/mac/Keyman4MacIM/make-km-dmg.sh +++ b/mac/Keyman4MacIM/make-km-dmg.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash ## START STANDARD BUILD SCRIPT INCLUDE # adjust relative paths as necessary diff --git a/mac/Keyman4MacIM/write-download_info.sh b/mac/Keyman4MacIM/write-download_info.sh index 860288a6d3..8378d5ed6b 100755 --- a/mac/Keyman4MacIM/write-download_info.sh +++ b/mac/Keyman4MacIM/write-download_info.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash ## START STANDARD BUILD SCRIPT INCLUDE # adjust relative paths as necessary diff --git a/mac/bashHelperFunctions.sh b/mac/bashHelperFunctions.sh index 1836fec621..2b38848543 100755 --- a/mac/bashHelperFunctions.sh +++ b/mac/bashHelperFunctions.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # TODO: deprecate and replace with shellHelperFunctions.sh. diff --git a/mac/build-help.sh b/mac/build-help.sh index ccd67360f8..cce855b741 100755 --- a/mac/build-help.sh +++ b/mac/build-help.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Set sensible script defaults: # set -e: Terminate script if a command returns an error diff --git a/mac/build.sh b/mac/build.sh index 0d05c7351c..7657092ad7 100755 --- a/mac/build.sh +++ b/mac/build.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash set -e ## START STANDARD BUILD SCRIPT INCLUDE diff --git a/mac/is_same_version.sh b/mac/is_same_version.sh index 987735beb7..985aecda35 100755 --- a/mac/is_same_version.sh +++ b/mac/is_same_version.sh @@ -1,6 +1,6 @@ -#!/bin/bash +#!/usr/bin/env bash -# compares the version of this branch (in ../VERSION.md) to the +# compares the version of this branch (in ../VERSION.md) to the # version in the Xcode project file of the subproject named in $1 # returns zero if they are the same, non-zero if not the same or a problem occurs diff --git a/mac/setup/build.sh b/mac/setup/build.sh index ae38a08a6c..c11aecd00b 100755 --- a/mac/setup/build.sh +++ b/mac/setup/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e set -u diff --git a/mac/setup/textinputsource/build.sh b/mac/setup/textinputsource/build.sh index f9b7e973d4..4e879bfaa8 100755 --- a/mac/setup/textinputsource/build.sh +++ b/mac/setup/textinputsource/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e set -u make textinputsource diff --git a/oem/firstvoices/android/build.sh b/oem/firstvoices/android/build.sh index 75fe3fb45e..bcf0865c97 100755 --- a/oem/firstvoices/android/build.sh +++ b/oem/firstvoices/android/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Set sensible script defaults: # set -e: Terminate script if a command returns an error diff --git a/oem/firstvoices/android/build_common.sh b/oem/firstvoices/android/build_common.sh index e18d06eb3a..8b843f9d02 100755 --- a/oem/firstvoices/android/build_common.sh +++ b/oem/firstvoices/android/build_common.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Set sensible script defaults: # set -e: Terminate script if a command returns an error diff --git a/oem/firstvoices/common/build_csv_languages.sh b/oem/firstvoices/common/build_csv_languages.sh index ce533dee23..ed6562bc6e 100755 --- a/oem/firstvoices/common/build_csv_languages.sh +++ b/oem/firstvoices/common/build_csv_languages.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Set sensible script defaults: # set -e: Terminate script if a command returns an error diff --git a/oem/firstvoices/common/build_keyboards.sh b/oem/firstvoices/common/build_keyboards.sh index 7d6df77ebb..c492d69272 100755 --- a/oem/firstvoices/common/build_keyboards.sh +++ b/oem/firstvoices/common/build_keyboards.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Build the keyboards referred to in ../keyboards.csv and copy them + metadata # to the FirstVoices/Keyboards folder diff --git a/oem/firstvoices/ios/build.sh b/oem/firstvoices/ios/build.sh index 3f83c56d70..a3e7843c43 100755 --- a/oem/firstvoices/ios/build.sh +++ b/oem/firstvoices/ios/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e diff --git a/resources/build/build-download-resources.sh b/resources/build/build-download-resources.sh index 2c273fc569..eb738aab6b 100755 --- a/resources/build/build-download-resources.sh +++ b/resources/build/build-download-resources.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Download default keyboard and lexical model packages from downloads.keyman.com # Set sensible script defaults: diff --git a/resources/build/help-keyman-com.sh b/resources/build/help-keyman-com.sh index 52739ce4e3..2c1282495c 100755 --- a/resources/build/help-keyman-com.sh +++ b/resources/build/help-keyman-com.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Prevents 'clear' on exit of mingw64 bash shell diff --git a/resources/build/history/history-utils.sh b/resources/build/history/history-utils.sh index cda04a2b7c..fe6e906eac 100755 --- a/resources/build/history/history-utils.sh +++ b/resources/build/history/history-utils.sh @@ -1,6 +1,6 @@ -#!/bin/bash +#!/usr/bin/env bash -#set -x +#set -x #DEBUG=1 _hu_base_dir=$(dirname "$BASH_SOURCE")/../../.. diff --git a/resources/build/history/validate-all-history.sh b/resources/build/history/validate-all-history.sh index 0efbd7d312..69b4b12c53 100755 --- a/resources/build/history/validate-all-history.sh +++ b/resources/build/history/validate-all-history.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash echo "**TODO** Update script to work with new history/versioning" exit 1 diff --git a/resources/build/increment-version.sh b/resources/build/increment-version.sh index 69d1532a27..c1c152ccbc 100755 --- a/resources/build/increment-version.sh +++ b/resources/build/increment-version.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e set -u diff --git a/resources/build/jq.inc.sh b/resources/build/jq.inc.sh index 0070d120a9..781a91eed3 100644 --- a/resources/build/jq.inc.sh +++ b/resources/build/jq.inc.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Setup JQ environment variable according to the user's system # diff --git a/resources/build/sentry-control.inc.sh b/resources/build/sentry-control.inc.sh index eedc113a4b..1ce48120a4 100644 --- a/resources/build/sentry-control.inc.sh +++ b/resources/build/sentry-control.inc.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # This script centralises sentry symbol uploads and releases diff --git a/resources/build/trigger-builds.inc.sh b/resources/build/trigger-builds.inc.sh index bd42ab94c9..ad1b1361c6 100644 --- a/resources/build/trigger-builds.inc.sh +++ b/resources/build/trigger-builds.inc.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Tell TeamCity to trigger new builds diff --git a/resources/build/trigger-definitions.inc.sh b/resources/build/trigger-definitions.inc.sh index 1db1414946..53c68ac019 100644 --- a/resources/build/trigger-definitions.inc.sh +++ b/resources/build/trigger-definitions.inc.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # This file maps specific paths to build triggers # diff --git a/resources/build/xcode-utils.sh b/resources/build/xcode-utils.sh index 1abd784717..c2662f1767 100755 --- a/resources/build/xcode-utils.sh +++ b/resources/build/xcode-utils.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This script will automatically have Xcode's build environment (and variables), # so there's no need to do anything extra to fetch them. diff --git a/resources/gosh/gosh.sh b/resources/gosh/gosh.sh index d3fb42c92a..19ea698cc0 100755 --- a/resources/gosh/gosh.sh +++ b/resources/gosh/gosh.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This script goes with gosh.bat and gosh.js. It may be helpful for launching # a platform independent script "gosh foo.sh ..." where "gosh" will be interpreted diff --git a/resources/shellHelperFunctions.sh b/resources/shellHelperFunctions.sh index 2b2b10071d..ae512275a5 100755 --- a/resources/shellHelperFunctions.sh +++ b/resources/shellHelperFunctions.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # WARNING: this file is copied into other locations during package builds; do not diff --git a/web/tools/s_keyman_com.sh b/web/tools/s_keyman_com.sh index 94c49a8655..0e91853c7b 100755 --- a/web/tools/s_keyman_com.sh +++ b/web/tools/s_keyman_com.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Prevents 'clear' on exit of mingw64 bash shell diff --git a/windows/src/desktop/help/build.sh b/windows/src/desktop/help/build.sh index 28cf21a0f0..51b21ee2c1 100755 --- a/windows/src/desktop/help/build.sh +++ b/windows/src/desktop/help/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## START STANDARD BUILD SCRIPT INCLUDE # adjust relative paths as necessary diff --git a/windows/src/desktop/locale/crowdin-control.sh b/windows/src/desktop/locale/crowdin-control.sh index c8455db44e..ebd4ab7f79 100644 --- a/windows/src/desktop/locale/crowdin-control.sh +++ b/windows/src/desktop/locale/crowdin-control.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Controls uploading and downloading Crowdin l10n files for # Keyman for Windows. diff --git a/windows/src/test/manual-tests/i18n-check-unused-strings/i18n-check-unused-strings.sh b/windows/src/test/manual-tests/i18n-check-unused-strings/i18n-check-unused-strings.sh index ffd8979b33..6713867b61 100644 --- a/windows/src/test/manual-tests/i18n-check-unused-strings/i18n-check-unused-strings.sh +++ b/windows/src/test/manual-tests/i18n-check-unused-strings/i18n-check-unused-strings.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # This script finds all references to strings in strings.xml in order to make sure that old