build: Prevent gensyms.sh from failing if pipefail is not supported by the shell

This commit is contained in:
mintsuki 2021-07-26 20:19:40 +02:00
parent db561393dd
commit af28eee1bc
2 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,8 @@
#!/bin/sh
set -e
set -o pipefail || true
./test_pipefail.sh && set -o pipefail
TMP1=$(mktemp)
TMP2=$(mktemp)

5
stage23/test_pipefail.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
set -e
set -o pipefail 2>/dev/null