We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The Makefile runs find ... -not ... to derive GO_SOURCES:
find ... -not ...
GO_SOURCES += $(shell find $(GO_DIRS) -type f -name "*.go" -not -path modules/options/bindata.go -not -path modules/public/bindata.go -not -path modules/templates/bindata.go)
On some platforms such as NetBSD, the -not option is not supported. The portable and standard POSIX way to do this is with with !: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/find.html
-not
!
ef92459
No
No response
make
None
The text was updated successfully, but these errors were encountered:
Makefile: Use portable !', not GNUish -not', with find(1).
!', not GNUish
9911098
fix go-gitea#24564
Makefile: Use portable !, not GNUish -not, with find(1). (#24565)
377e013
fix #24564 Co-authored-by: Taylor R Campbell <campbell+gitea@mumble.net>
Makefile: Use portable !, not GNUish -not, with find(1). (go-gitea#24565
4a81183
) fix go-gitea#24564 Co-authored-by: Taylor R Campbell <campbell+gitea@mumble.net>
Makefile: Use portable !, not GNUish -not, with find(1). (#24565) (#2…
6f57be0
…4572) Backport #24565 by @riastradh fix #24564 Co-authored-by: Taylor R Campbell <campbell+gitea@mumble.net>
Successfully merging a pull request may close this issue.
Description
The Makefile runs
find ... -not ...
to derive GO_SOURCES:On some platforms such as NetBSD, the
-not
option is not supported. The portable and standard POSIX way to do this is with with!
: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/find.htmlGitea Version
ef92459
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
make
Database
None
The text was updated successfully, but these errors were encountered: