From: Richard Levitte Date: Sat, 19 Mar 2016 01:11:31 +0000 (+0100) Subject: Shut find up about files not found X-Git-Tag: OpenSSL_1_1_0-pre5~303 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=ac89799c3e78e9af1031226eb2fd389a70ce3c1b;hp=c6aca19bb5541883cf8233b03d92e9ef6d91357c Shut find up about files not found Some of the files in $(DEPS) might not exist. We don't need to know. Reviewed-by: Rich Salz --- diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index 77ba75b44a..be42743a9f 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -260,7 +260,7 @@ clean: libclean # concatenate only if that is true. depend: @: {- output_off() if $disabled{makedepend}; "" -} - @if [ -z "`find $(DEPS) -newer Makefile`" ]; then \ + @if [ -z "`find $(DEPS) -newer Makefile 2>/dev/null`" ]; then \ ( sed -e '/^# DO NOT DELETE THIS LINE.*/,$$d' < Makefile; \ echo '# DO NOT DELETE THIS LINE -- make depend depends on it.'; \ echo; \