summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJeremy Cline <jcline@redhat.com>2018-10-10 09:57:59 -0400
committerJeremy Cline <jcline@redhat.com>2018-10-10 09:58:52 -0400
commitfe2c7cc7f9879104600caa1829e173e9f98a1cc6 (patch)
tree022cbfaaba75f9ea561f1e21db70db2b59b9bdef /scripts
parent8fa29867b1b94b5e9bb37b5fe277499f803abab0 (diff)
downloadkernel-fe2c7cc7f9879104600caa1829e173e9f98a1cc6.tar.gz
kernel-fe2c7cc7f9879104600caa1829e173e9f98a1cc6.tar.xz
kernel-fe2c7cc7f9879104600caa1829e173e9f98a1cc6.zip
Exit immediately on failure in the header tarball script
Signed-off-by: Jeremy Cline <jcline@redhat.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/create_headers_tarball.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/create_headers_tarball.sh b/scripts/create_headers_tarball.sh
index 575b2bb8e..9d43548df 100755
--- a/scripts/create_headers_tarball.sh
+++ b/scripts/create_headers_tarball.sh
@@ -7,6 +7,8 @@
# Author: Herton R. Krzesinski <herton@redhat.com>
# Author: Justin M. Forbes <jforbes@redhat.com>
+set -e
+
# Location of kernel-headers checkout
CURRENTDIR=`pwd`
PKGLOC='kernel-headers'