Find bash on FreeBSD better

This commit is contained in:
Jonathan "Duke" Leto
2022-09-12 18:03:36 -07:00
parent fb45331b79
commit c6e278154f

View File

@@ -1,5 +1,5 @@
#!/bin/bash #!/usr/bin/env bash
# Copyright (c) 2016-2021 The Hush developers # Copyright (c) 2016-2022 The Hush developers
# set working directory to the location of this script # set working directory to the location of this script
# readlink -f does not always exist # readlink -f does not always exist
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"