Explicitly use Bash in scripts that actually use non-POSIX features or do not have a shebang at all

This commit is contained in:
Kamil Śliwak
2021-03-04 16:53:05 +01:00
parent d42d0faf41
commit 8c57c7cb35
6 changed files with 7 additions and 4 deletions
@@ -1,3 +1,5 @@
#!/usr/bin/env bash
BASE_PATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 || exit ; pwd -P )"
mkdir -p build