]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make mkioctls script work on Linux and MacOS
authorarichardson <arichardson@FreeBSD.org>
Mon, 20 Aug 2018 10:39:37 +0000 (10:39 +0000)
committerarichardson <arichardson@FreeBSD.org>
Mon, 20 Aug 2018 10:39:37 +0000 (10:39 +0000)
commit068abe053659bf09ea13a7a503d71b3f0a844321
treedaf924eae33c21a4ee1e8cda563c12e71ec38af3
parentf37ea7667e9b63a0035c0798f1fbab48b0e21cf6
Make mkioctls script work on Linux and MacOS

Using find -s  will not work with the Linux or MacOS find command. We pipe
to sort instead since the only real requirement here is that the order
stays the same. While I am touching this file I also fixed a `==` construct
which is not supported by POSIX sh but appears to work on FreeBSD.

Reviewed By: imp
Approved By: jhb (mentor)
Differential Revision: https://reviews.freebsd.org/D14246
lib/libsysdecode/mkioctls