From 3a5675480b1ac35c938a4776240b16c20ec134ff Mon Sep 17 00:00:00 2001 From: Ankush Patel Date: Tue, 17 Feb 2026 20:11:19 +1300 Subject: Freebsd-support: Change bash shebang to use /usr/bin/env --- build.bash | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'build.bash') diff --git a/build.bash b/build.bash index 5e95c3e..e78188e 100755 --- a/build.bash +++ b/build.bash @@ -1,4 +1,4 @@ -#!/bin/bash -eu +#!/usr/bin/env bash # # Compile gocryptfs and bake the git version string of itself and the go-fuse # library into the binary. @@ -10,6 +10,8 @@ # SOURCE_DATE_EPOCH=1544192417 ./build.bash # . +set -eu + cd "$(dirname "$0")" # $0 does not work because we may have been sourced -- cgit v1.2.3