aboutsummaryrefslogtreecommitdiff
path: root/profiling/write-trace.bash
diff options
context:
space:
mode:
authorAnkush Patel2026-02-17 20:11:19 +1300
committerAnkush Patel2026-02-17 20:15:53 +1300
commit3a5675480b1ac35c938a4776240b16c20ec134ff (patch)
treeeab9331694c76103e1d3b6aa844e6e66afeff38c /profiling/write-trace.bash
parent8d8fb15f0b3680add1f3b28c062b573a92221ab0 (diff)
Freebsd-support: Change bash shebang to use /usr/bin/env
Diffstat (limited to 'profiling/write-trace.bash')
-rwxr-xr-xprofiling/write-trace.bash4
1 files changed, 3 insertions, 1 deletions
diff --git a/profiling/write-trace.bash b/profiling/write-trace.bash
index 31af492..8b7cec9 100755
--- a/profiling/write-trace.bash
+++ b/profiling/write-trace.bash
@@ -1,8 +1,10 @@
-#!/bin/bash -eu
+#!/usr/bin/env bash
#
# Write an execution trace of writing 100MB of data
# to a new gocryptfs mount on /tmp
+set -eu
+
cd "$(dirname "$0")"
T=$(mktemp -d)