mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-09-11 13:37:10 +03:00
The `--sort` argument to ls is a linuxism (more precisely a gnu-coreutilsism). I get this output when attempting these instructions on FreeBSD (13): $ diff -u "$(ls --sort=t | head -2 | tail -1)/config/production.yaml.example" "$(ls --sort=t | head -1)/config/production.yaml.example" ls: unrecognized option `--sort=t' usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuvwxy1,] [--color=when] [-D format] [file ...] ls: unrecognized option `--sort=t' usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuvwxy1,] [--color=when] [-D format] [file ...] diff: /config/production.yaml.example: No such file or directory Changing `--sort=t` to the POSIX-compliant `-t` makes this work as expected and operates just fine on Linux (tested on Fedora Linux 39). Fixes #6412 |
||
---|---|---|
.. | ||
doc | ||
docker | ||
freebsd | ||
init.d | ||
nginx | ||
openapi | ||
sysctl.d | ||
systemd |