Turn on error sensitivity in the "tar" target
authorRichard Levitte <levitte@openssl.org>
Thu, 17 Aug 2017 12:04:18 +0000 (14:04 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 18 Aug 2017 13:16:30 +0000 (15:16 +0200)
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4179)

Configurations/unix-Makefile.tmpl

index 0603b4144d28068c6e138959495c6844094ced8f..a49e06c91a3c932b42820eef9fa404ec14f3f33f 100644 (file)
@@ -682,6 +682,7 @@ tags TAGS: FORCE
 TAR_COMMAND=$(TAR) $(TARFLAGS) --owner 0 --group 0 -cvf -
 PREPARE_CMD=:
 tar:
+       set -e; \
        TMPDIR=/var/tmp/openssl-copy.$$$$; \
        DISTDIR=$(NAME); \
        mkdir -p $$TMPDIR/$$DISTDIR; \