diff options
| author | Ankush Patel | 2026-02-17 20:11:19 +1300 |
|---|---|---|
| committer | Ankush Patel | 2026-02-17 20:15:53 +1300 |
| commit | 3a5675480b1ac35c938a4776240b16c20ec134ff (patch) | |
| tree | eab9331694c76103e1d3b6aa844e6e66afeff38c /build.bash | |
| parent | 8d8fb15f0b3680add1f3b28c062b573a92221ab0 (diff) | |
Freebsd-support: Change bash shebang to use /usr/bin/env
Diffstat (limited to 'build.bash')
| -rwxr-xr-x | build.bash | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |
