Skip to content

Commit 70589a8

Browse files
rajveermalviyagnprice
authored andcommitted
check: Ensure GNU coreutils are used on macOS
Without this, there are failures when running `./tools/check` script with `--verbose` flag: Test command: ./tools/check pigeon --all-files --fix --verbose date: illegal option -- - usage: date [-jnRu] [-I[date|hours|minutes|seconds]] [-f input_fmt] [-r filename|seconds] [-v[+|-]val[y|m|w|d|H|M|S]] [[[[mm]dd]HH]MM[[cc]yy][.SS] | new_date] [+output_fmt] Time now: zulip-flutter e0df0ed • 2025-02-26 05:01:14 +0000
1 parent e0df0ed commit 70589a8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/check

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ set -euo pipefail
1818

1919
this_dir=${BASH_SOURCE[0]%/*}
2020

21+
# shellcheck source=tools/lib/ensure-coreutils.sh
22+
. "${this_dir}"/lib/ensure-coreutils.sh
23+
2124
# shellcheck source=tools/lib/git.sh
2225
. "${this_dir}"/lib/git.sh
2326

0 commit comments

Comments
 (0)