diff options
author | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2021-08-20 11:10:30 +0300 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2021-08-20 12:32:22 +0200 |
commit | ac586d1caecaa5be4bce05b073ce4c7bda10f13e (patch) | |
tree | 0f8edfa7e9bf7ad5c5be49cd168c20dc9e16d1a1 /bin/oss-fuzz-build.sh | |
parent | 080e4550257a90597c241f83fd766b99c83ba6e8 (diff) |
Make some scripts more portable
Change-Id: Ia89059eea51ca396a7c74143625ac9a6706de198
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120773
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'bin/oss-fuzz-build.sh')
-rwxr-xr-x | bin/oss-fuzz-build.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/oss-fuzz-build.sh b/bin/oss-fuzz-build.sh index 36390015dbc2..906cadd500d4 100755 --- a/bin/oss-fuzz-build.sh +++ b/bin/oss-fuzz-build.sh @@ -1,4 +1,6 @@ -#!/bin/bash -e +#!/usr/bin/env bash + +set -e if [ -z "${OUT}" ] || [ -z "${SRC}" ] || [ -z "${WORK}" ]; then echo "OUT, SRC or WORK not set - script expects to be called inside oss-fuzz build env" |