summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2019-07-10 22:14:51 +0800
committerTing-Wei Lan <lantw@src.gnome.org>2019-07-10 22:14:51 +0800
commit03acad54d2ae20382fcbf0c8510bb0961039011e (patch)
tree8595ab57736fc428bfecdfec19afb637a858632b /util
parent1da8c1cef889977fd128a80605fe1b94798dab4b (diff)
downloadmm-common-03acad54d2ae20382fcbf0c8510bb0961039011e.tar.gz
Don't hard-code the path of bash
Bash isn't always installed in /bin. Scripts which don't requires bash to work are converted to use sh, while scripts requiring bash features are changed to use PATH to find bash.
Diffstat (limited to 'util')
-rwxr-xr-xutil/meson_aux/extra-dist-cmd.sh2
-rwxr-xr-xutil/meson_aux/extra-install-cmd.sh2
-rwxr-xr-xutil/meson_aux/libstdcxx-tag.sh2
-rwxr-xr-xutil/meson_aux/skeletonmm-tarball.sh2
4 files changed, 4 insertions, 4 deletions
diff --git a/util/meson_aux/extra-dist-cmd.sh b/util/meson_aux/extra-dist-cmd.sh
index b73c1f4..df65e2f 100755
--- a/util/meson_aux/extra-dist-cmd.sh
+++ b/util/meson_aux/extra-dist-cmd.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -e
+#!/bin/sh -e
# External command, intended to be called with meson.add_dist_script() in meson.build
diff --git a/util/meson_aux/extra-install-cmd.sh b/util/meson_aux/extra-install-cmd.sh
index 79f44b0..e07a692 100755
--- a/util/meson_aux/extra-install-cmd.sh
+++ b/util/meson_aux/extra-install-cmd.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -e
+#!/bin/sh -e
# External command, intended to be called with meson.add_install_script() in meson.build
diff --git a/util/meson_aux/libstdcxx-tag.sh b/util/meson_aux/libstdcxx-tag.sh
index 9ac83f2..300ea09 100755
--- a/util/meson_aux/libstdcxx-tag.sh
+++ b/util/meson_aux/libstdcxx-tag.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -e
+#!/bin/sh -e
# External command, intended to be called with custom_target() in meson.build
diff --git a/util/meson_aux/skeletonmm-tarball.sh b/util/meson_aux/skeletonmm-tarball.sh
index c36f126..64da25d 100755
--- a/util/meson_aux/skeletonmm-tarball.sh
+++ b/util/meson_aux/skeletonmm-tarball.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -e
+#!/bin/sh -e
# External command, intended to be called with custom_target() in meson.build