mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 00:51:24 +03:00
984b529684
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.
12 lines
346 B
Bash
Executable File
12 lines
346 B
Bash
Executable File
#!/bin/sh
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
set -eu
|
|
|
|
cd "$1" && shift
|
|
|
|
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"
|
|
done
|