diff options
author | Richard Levitte <levitte@openssl.org> | 2016-03-19 11:15:00 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-03-19 11:17:42 +0100 |
commit | 243a98d4a03a411dfe6db727dbf90adbfa2e7474 (patch) | |
tree | 68ab14c74616154d7234167bd9906bee9db606f4 /Configurations | |
parent | ac89799c3e78e9af1031226eb2fd389a70ce3c1b (diff) |
Clear the exit code from 'find' in 'make depend'
Depending on what has been built so far, all .d files may not be
present and 'find' will exit with non-zero exit code. This isn't a
bother for us but may break make, so clear the exit code with an added
'exit 0'.
Closes RT#4444
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'Configurations')
-rw-r--r-- | Configurations/unix-Makefile.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index be42743a9f..425804db1f 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 2>/dev/null`" ]; then \ + @if [ -z "`find $(DEPS) -newer Makefile 2>/dev/null; exit 0`" ]; then \ ( sed -e '/^# DO NOT DELETE THIS LINE.*/,$$d' < Makefile; \ echo '# DO NOT DELETE THIS LINE -- make depend depends on it.'; \ echo; \ |