summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index eb23d20..04d8a65 100755
--- a/tests.sh
+++ b/tests.sh
@@ -96,7 +96,10 @@ if [ "$1" == "update" ]; then
fi
function bfs_sort() {
- LC_ALL=C awk -F/ '{ print NF - 1 " " $0 }' | sort -n | awk '{ print $2 }'
+ (
+ export LC_ALL=C
+ awk -F/ '{ print NF - 1 " " $0 }' | sort -n | awk '{ print $2 }'
+ )
}
function bfs_diff() {