summaryrefslogtreecommitdiff
path: root/maint
diff options
context:
space:
mode:
Diffstat (limited to 'maint')
-rwxr-xr-xmaint/update-authors.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/maint/update-authors.sh b/maint/update-authors.sh
new file mode 100755
index 00000000..9718811e
--- /dev/null
+++ b/maint/update-authors.sh
@@ -0,0 +1,11 @@
+# Copyright 2010 Lennart Poettering
+# Copyright 2022 Simon McVittie
+# SPDX-License-Identifier: MIT
+
+set -eux
+
+if [ -n "${MESON_SOURCE_ROOT-}" ]; then
+ cd "${MESON_SOURCE_ROOT}"
+fi
+
+git shortlog -s -e | cut -c 8- | sort > AUTHORS