Turn on error sensitivity in the "tar" target
[openssl.git] / 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:
 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; \
        TMPDIR=/var/tmp/openssl-copy.$$$$; \
        DISTDIR=$(NAME); \
        mkdir -p $$TMPDIR/$$DISTDIR; \