Sciprts: Set pipefail or remove pipes
Errors in pipes are ignored otherwise
This commit is contained in:
committed by
Matthias Mailänder
parent
946cd8f322
commit
1b9a86c0a0
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# OpenRA packaging script for versioned source tarball
|
||||
|
||||
set -o errexit || exit $?
|
||||
set -o errexit -o pipefail || exit $?
|
||||
|
||||
if [ $# -ne "2" ]; then
|
||||
echo "Usage: $(basename "$0") tag outputdir"
|
||||
|
||||
Reference in New Issue
Block a user