mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 00:51:24 +03:00
9a6da617db
The target is renamed to 'update-syscall-tables'. (Other targets with similar names will be added later.)
11 lines
289 B
Bash
Executable File
11 lines
289 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
cd "$1" && shift
|
|
|
|
curl -L -o syscall-names.text 'https://raw.githubusercontent.com/hrw/syscalls-table/master/syscall-names.text'
|
|
|
|
for arch in "$@"; do
|
|
curl -L -o syscalls-$arch "https://raw.githubusercontent.com/hrw/syscalls-table/master/tables/syscalls-$arch"
|
|
done
|