summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-01-27 13:56:12 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-01-28 09:55:35 +0100
commit984b529684bf5597984b8d7ed8317b7d239b8dd3 (patch)
treed227a370a11bdb21f13ebc113578a396ad229a1c /tools
parent2bc48bbdd717c3d4fa1345218cf4c2f5d131152e (diff)
downloadsystemd-984b529684bf5597984b8d7ed8317b7d239b8dd3.tar.gz
Use .txt as the extension for syscall list file
Upstream uses .text, but this is rather unusual. Let's use .txt as the usual suffix for text files. This tells various editors and such that the file should be treated as plain text. I also want to a script to summarize license status, and having an easy-to-recognize suffix makes this easier.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/syscall-table-update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syscall-table-update.sh b/tools/syscall-table-update.sh
index a6d7d14732..410b20c5d9 100755
--- a/tools/syscall-table-update.sh
+++ b/tools/syscall-table-update.sh
@@ -4,7 +4,7 @@ set -eu
cd "$1" && shift
-curl --fail -L -o syscall-names.text 'https://raw.githubusercontent.com/hrw/syscalls-table/master/syscall-names.text'
+curl --fail -L -o syscall-list.txt 'https://raw.githubusercontent.com/hrw/syscalls-table/master/syscall-names.text'
for arch in "$@"; do
curl --fail -L -o syscalls-$arch "https://raw.githubusercontent.com/hrw/syscalls-table/master/tables/syscalls-$arch"