Use portable `/usr/bin/env bash` shebang, instead of `/bin/bash` one.

Signed-off-by: Gleb Popov <6yearold@gmail.com>
Change-Id: I196c8747d9c88991bd0352849113748f8ea1294d
pull/1025/head
Gleb Popov 2020-12-14 18:55:57 +04:00 committed by Michael Meeks
parent d6de33d9e4
commit fed8ed59a4
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
srcdir=`dirname $0`
test -n "$srcdir" || srcdir=.

View File

@ -1,4 +1,6 @@
#!/bin/bash -e
#!/usr/bin/env bash
set -e
srcdir="$PWD"
if [ -n "${abs_srcdir}" ]; then