提交 469ad0fd 编写于 作者: D Daniel Gustafsson

Use portable unary NOT in find command

The -not syntax is not portable across all platforms, most notably
OpenBSD, so use the more portable ! operator instead.
上级 b25f7613
......@@ -5,7 +5,7 @@ endif
install:
@# Copy everything except the makefile
find . -not -path '*Makefile' -type f -exec cp -- {} $(prefix)/sbin/{} \;
find . ! -path '*Makefile' -type f -exec cp -- {} $(prefix)/sbin/{} \;
clean distclean:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册