summaryrefslogtreecommitdiffstats
path: root/tests/sort-args.sh
diff options
context:
space:
mode:
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[@]}"