summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/find-color.sh2
-rwxr-xr-xtests/ls-color.sh2
-rwxr-xr-xtests/remove-sibling.sh2
-rwxr-xr-xtests/sort-args.sh2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/find-color.sh b/tests/find-color.sh
index 6ae6eba..ecdd5af 100755
--- a/tests/find-color.sh
+++ b/tests/find-color.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
############################################################################
# bfs #
diff --git a/tests/ls-color.sh b/tests/ls-color.sh
index e8cf038..c82a58d 100755
--- a/tests/ls-color.sh
+++ b/tests/ls-color.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
############################################################################
# bfs #
diff --git a/tests/remove-sibling.sh b/tests/remove-sibling.sh
index ddf81d7..c5af88a 100755
--- a/tests/remove-sibling.sh
+++ b/tests/remove-sibling.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
for file in "${1%/*}"/*; do
if [ "$file" != "$1" ]; then
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[@]}"