summaryrefslogtreecommitdiff
path: root/azure-pipelines
diff options
context:
space:
mode:
authorglx22 <glx22@users.noreply.github.com>2019-11-16 15:23:25 +0100
committerCharles Pigott <charlespigott@googlemail.com>2019-11-16 14:23:25 +0000
commite3dc65978d651dd917f290c6558bb1dd8c0f125f (patch)
treea1905dfff0e0ef7ae2d37978f568ec8f0bf9b09e /azure-pipelines
parent60cbddbb5faf75e3c2df1e037eed759997dfa541 (diff)
downloadopenttd-e3dc65978d651dd917f290c6558bb1dd8c0f125f.tar.xz
Fix e3511ecac: Don't use bash specific syntax (again) (#7835)
Diffstat (limited to 'azure-pipelines')
-rwxr-xr-xazure-pipelines/manifest.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/azure-pipelines/manifest.sh b/azure-pipelines/manifest.sh
index 11842fe0d..730a09283 100755
--- a/azure-pipelines/manifest.sh
+++ b/azure-pipelines/manifest.sh
@@ -55,12 +55,12 @@ for filename in $(ls ${FOLDER} | grep -v ".txt$\|.md$\|sum$" | sort); do
done
# output_files key filename...
-function output_files {
+output_files() {
if [ "$#" -lt 2 ]; then return; fi
key=$1
echo "${key}:" >> manifest.yaml
shift
- while (( "$#" )); do
+ while [ "$#" -gt 0 ]; do
filename=$1
if [ ! -e ${FOLDER}/${filename}.md5sum ] || [ ! -e ${FOLDER}/${filename}.sha1sum ] || [ ! -e ${FOLDER}/${filename}.sha256sum ]; then
echo "ERROR: missing checksum file for ${filename}" 1>&2