Message ID | 1de469f1ffb1680e3a75da2c3895fb1e4f43859f.1740677838.git.steve@sakoman.com |
---|---|
State | Accepted, archived |
Commit | 1de469f1ffb1680e3a75da2c3895fb1e4f43859f |
Delegated to: | Steve Sakoman |
Headers | show |
Series | [kirkstone,01/15] xserver-xorg: Fix for CVE-2025-26594 | expand |
diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh index ec5e4aa922..380a25e761 100644 --- a/meta/files/toolchain-shar-extract.sh +++ b/meta/files/toolchain-shar-extract.sh @@ -1,6 +1,11 @@ #!/bin/sh export LC_ALL=en_US.UTF-8 + +# The pipefail option is now part of POSIX (POSIX.1-2024) and available in more +# and more shells. Enable it if available to make the SDK installer more robust. +(set -o pipefail 2> /dev/null) && set -o pipefail + #Make sure at least one python is installed INIT_PYTHON=$(which python3 2>/dev/null ) [ -z "$INIT_PYTHON" ] && INIT_PYTHON=$(which python2 2>/dev/null)