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:18:52 +0000 (15:18 +0200)
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4179)

(cherry picked from commit 34a5b7d727204eb990acd44899d457245ac94d7c)

Configurations/unix-Makefile.tmpl

index e0853b1a6f7d7d50c06feb3aee56d11d4701a10f..dca2b04305f2431c4e6f7b81f63c703c3bd5f673 100644 (file)
@@ -652,6 +652,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; \