From 2fc4b76cf0c4aade03dfe4b41b2d9d35f021ff6f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 16 Nov 2017 18:45:59 +0100 Subject: [PATCH] Use Bash for release scripts using non-POSIX features A script using "declare -a" can't use /bin/sh as it's non-POSIX and not supported by e.g. Dash which is /bin/sh on Debian systems. --- build/tools/post-release.sh | 2 +- build/tools/pre-release.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/tools/post-release.sh b/build/tools/post-release.sh index 290397c37c..79e412d56b 100755 --- a/build/tools/post-release.sh +++ b/build/tools/post-release.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Exit immediately if a command exits with a non-zero status. set -e diff --git a/build/tools/pre-release.sh b/build/tools/pre-release.sh index 252c2cd9bf..4a3406e1cf 100755 --- a/build/tools/pre-release.sh +++ b/build/tools/pre-release.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # build a list of English locales declare -a locale_list=("en_GB" "en_US")