summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristian Stoica <cristian.stoica@nxp.com>2016-05-16 15:10:24 +0200
committerRichard Levitte <levitte@openssl.org>2016-05-16 17:58:52 +0200
commit1b4d0e3c1ed556b890b93d8326978a6a90cfc0fe (patch)
tree3b6eda8a72d77622823244e09c05854c58298b46
parentWindows: Add CRYPT32.LIB to the libraries to link you app with (diff)
downloadopenssl-1b4d0e3c1ed556b890b93d8326978a6a90cfc0fe.tar.xz
openssl-1b4d0e3c1ed556b890b93d8326978a6a90cfc0fe.zip
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: Cristian Stoica <cristian.stoica@nxp.com> CLA: none; trivial Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1078)
-rw-r--r--Configurations/unix-Makefile.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
index ea3b7083e6..a31867ed32 100644
--- a/Configurations/unix-Makefile.tmpl
+++ b/Configurations/unix-Makefile.tmpl
@@ -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'