Files

11 lines
359 B
Bash
Raw Permalink Normal View History

2025-12-14 00:29:46 +09:00
#!/bin/bash -e
ver="9.10"
2025-12-14 00:29:46 +09:00
repo=https://github.com/coreutils/coreutils
curl -L "${repo}/releases/download/v${ver}/coreutils-${ver}.tar.xz" | tar --strip-components=1 -xJf -
# TODO stop backporting tests from master at GNU coreutils > $ver
backport=(misc/coreutils.sh)
for f in ${backport[@]}
do curl -L ${repo}/raw/refs/heads/master/tests/$f > tests/$f
done