macOS "tail" cmd doesn't like --lines arguments

use -n instead.
This commit is contained in:
Thomas Bernard 2019-01-28 14:49:33 +01:00
parent 2d4cdab5b4
commit 81486a3563
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

2
3rdparty/Makefile vendored
View File

@ -229,7 +229,7 @@ endif
echo "" >> ../doc/README-lua.txt
echo "License : http://www.lua.org/license.html" >> ../doc/README-lua.txt
# extract license from readme.html
awk '/BLOCKQUOTE/{flag=1-flag;next}flag' $(LUA)/doc/readme.html | grep -v '<P>' | tail --lines +2 >> ../doc/README-lua.txt
awk '/BLOCKQUOTE/{flag=1-flag;next}flag' $(LUA)/doc/readme.html | grep -v '<P>' | tail -n +2 >> ../doc/README-lua.txt
ifdef WIN32
$(PREFIX)/lib/libSDL2main.a: archives/$(SDL2DEVEL)