提交 1b4d0e3c 编写于 作者: C Cristian Stoica 提交者: Richard Levitte

do not remove links found in .git directory

Some setups use links inside .git directory and make clean should not
remove them to avoid breaking git meta-information.
Signed-off-by: NCristian Stoica <cristian.stoica@nxp.com>

CLA: none; trivial
Reviewed-by: NMatt Caswell <matt@openssl.org>
Reviewed-by: NRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1078)
上级 531e9dcc
......@@ -259,7 +259,7 @@ clean: libclean
rm -f core
rm -f tags TAGS
rm -f openssl.pc libcrypto.pc libssl.pc
-rm -f `find . -type l`
-rm -f `find . -type l -a \! -path "./.git/*"`
rm -f $(TARFILE)
# This exists solely for those who still type 'make depend'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册