summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-08-20 11:10:30 +0300
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-08-20 12:32:22 +0200
commitac586d1caecaa5be4bce05b073ce4c7bda10f13e (patch)
tree0f8edfa7e9bf7ad5c5be49cd168c20dc9e16d1a1 /solenv
parent080e4550257a90597c241f83fd766b99c83ba6e8 (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 'solenv')
-rwxr-xr-xsolenv/bin/add-modelines2
-rwxr-xr-xsolenv/bin/macosx-codesign-app-bundle2
-rwxr-xr-xsolenv/bin/mkdocs_portal.sh2
-rwxr-xr-xsolenv/bin/mkonedoc.sh2
4 files changed, 4 insertions, 4 deletions
diff --git a/solenv/bin/add-modelines b/solenv/bin/add-modelines
index 3fa358cc2909..a3f59fe8ead4 100755
--- a/solenv/bin/add-modelines
+++ b/solenv/bin/add-modelines
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# This file is part of the LibreOffice project.
#
diff --git a/solenv/bin/macosx-codesign-app-bundle b/solenv/bin/macosx-codesign-app-bundle
index f4df4d4e6639..b79c3d8003b3 100755
--- a/solenv/bin/macosx-codesign-app-bundle
+++ b/solenv/bin/macosx-codesign-app-bundle
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Use of unset variable is an error
set -u
diff --git a/solenv/bin/mkdocs_portal.sh b/solenv/bin/mkdocs_portal.sh
index 284af9e741f5..867198fa8c59 100755
--- a/solenv/bin/mkdocs_portal.sh
+++ b/solenv/bin/mkdocs_portal.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
if [ -n "$debug" ] ; then
set -x
diff --git a/solenv/bin/mkonedoc.sh b/solenv/bin/mkonedoc.sh
index 6ec3f5e72625..654ce56819a1 100755
--- a/solenv/bin/mkonedoc.sh
+++ b/solenv/bin/mkonedoc.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
module="$1"
mode="$2"