blob: 120685f6e1a2208d68e31e7a3abc3c71886da02c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
#
# SPDX-License-Identifier: AGPL-3.0-only
# SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
set -eu
if [ x"$(indent --version)" != x'FreeBSD indent 2.0' ]
then
printf 'indent(1) version mismatch\n' >&2
exit 1
fi
find . -name '*.c' -exec indent '{}' ';'
|