From 7467952c965bcc52168df003b2c267812f23c4bb Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Tue, 11 Sep 2018 10:11:27 -0400 Subject: [PATCH] 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 --- packaging/make-git-snapshot.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packaging/make-git-snapshot.sh b/packaging/make-git-snapshot.sh index bbcf0092..0d64632e 100755 --- a/packaging/make-git-snapshot.sh +++ b/packaging/make-git-snapshot.sh @@ -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}"