Use env to locate bash (#3439)

This change uses env to locate bash, instead of hard-coding it. This is necessary on FreeBSD. Tested on Linux as well.
This commit is contained in:
David Schwartz 2020-04-30 12:34:13 -04:00 committed by GitHub
parent b63ad032a9
commit 71271a0e03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
DIR="$(cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
cd "$DIR"