packaging: Use standard strict mode header

The script already turned on `-e` later on. Make it conform to the
standard strict mode with the rest of the options right at the
beginning.

Closes: #1554
Approved by: cgwalters
This commit is contained in:
Jonathan Lebon 2018-09-11 10:11:27 -04:00 committed by Atomic Bot
parent 772f29282e
commit 7467952c96

View File

@ -1,4 +1,5 @@
#!/bin/sh
set -xeuo pipefail
srcdir=$1
shift
@ -10,9 +11,6 @@ shift
TARFILE=${PKG_VER}.tar
TARFILE_TMP=$(pwd)/${TARFILE}.tmp
set -x
set -e
test -n "${srcdir}"
test -n "${PKG_VER}"
test -n "${GITREV}"