summaryrefslogtreecommitdiffstats
path: root/tests/sort-args.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-08-05 10:14:10 -0400
committerTavian Barnes <tavianator@tavianator.com>2021-08-05 10:14:10 -0400
commit302e9987fe732e7e4154386058fff2720fc68fc3 (patch)
tree6e3752b8cbac966eef0c99f3338fd7b498ea5c41 /tests/sort-args.sh
parent0d41d68b8d907cf1246645a01b43b839e5dbe44b (diff)
downloadbfs-302e9987fe732e7e4154386058fff2720fc68fc3.tar.xz
Use /usr/bin/env bash as the shebang in scripts
This should reduce the need for patches on the BSDs.
Diffstat (limited to 'tests/sort-args.sh')
-rwxr-xr-xtests/sort-args.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sort-args.sh b/tests/sort-args.sh
index 5214598..f801d3b 100755
--- a/tests/sort-args.sh
+++ b/tests/sort-args.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
args=($({ for arg; do echo "$arg"; done } | sort))
echo "${args[@]}"