tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

Make clean should not recursively removes all files in pwd

Open digital-abyss opened this issue 8 years ago • 1 comments

In this file: https://github.com/eugenp/tutorials/blob/master/spring-security-x509/keystore/Makefile

clean: 	# Remove generated artifacts 	find . ! -name Makefile -type f -exec rm -f {} \;

Recursively removes all files in the present working directory. If you happen to run this from a folder with other contents, you loose all contents.

digital-abyss avatar Jul 10 '18 21:07 digital-abyss

Restricted the list of files more, thanks.

lor6 avatar Jul 18 '18 18:07 lor6