Exit immediately on failure in the header tarball script

Signed-off-by: Jeremy Cline <jcline@redhat.com>
This commit is contained in:
Jeremy Cline 2018-10-10 09:57:59 -04:00
parent 8fa29867b1
commit fe2c7cc7f9
No known key found for this signature in database
GPG Key ID: 9223308FA9B246DB

View File

@ -7,6 +7,8 @@
# Author: Herton R. Krzesinski <herton@redhat.com> # Author: Herton R. Krzesinski <herton@redhat.com>
# Author: Justin M. Forbes <jforbes@redhat.com> # Author: Justin M. Forbes <jforbes@redhat.com>
set -e
# Location of kernel-headers checkout # Location of kernel-headers checkout
CURRENTDIR=`pwd` CURRENTDIR=`pwd`
PKGLOC='kernel-headers' PKGLOC='kernel-headers'