diff options
author | 2024-08-20 21:30:58 +0100 | |
---|---|---|
committer | 2024-08-22 20:37:46 +0100 | |
commit | cfd3bd51ba0e619835e531fff6e2c71214600ee4 (patch) | |
tree | 1c9e825423924097bb96ab0360da6ca30b3a46fc | |
parent | Warn upon sourcing if errexit or nounset be enabled (diff) | |
download | gentoo-functions-cfd3bd51ba0e619835e531fff6e2c71214600ee4.tar.gz gentoo-functions-cfd3bd51ba0e619835e531fff6e2c71214600ee4.tar.bz2 gentoo-functions-cfd3bd51ba0e619835e531fff6e2c71214600ee4.zip |
Document that the pipefail option is unsupported
This is worth mentioning because POSIX-1.2024 (Issue 8) introduces
pipefail as a standard feature.
https://austingroupbugs.net/view.php?id=789
Signed-off-by: Kerin Millar <kfm@plushkava.net>
-rw-r--r-- | functions.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/functions.sh b/functions.sh index 2e2916b..2414612 100644 --- a/functions.sh +++ b/functions.sh @@ -12,9 +12,9 @@ # The functions shall be compatible with the POSIX-1.2018 Shell and Utilities # (XCU), except where otherwise noted and with the exception that the use of # the local utility is permitted, despite the results of its invocation being -# formally unspecified. Should either of the errexit and nounset options be -# enabled in the shell, the behaviour of gentoo-functions as a whole shall be -# unspecified. +# formally unspecified. Should any of the errexit, pipefail or nounset options +# be enabled in the shell, the behaviour of gentoo-functions as a whole shall +# be unspecified. # The following variables affect initialisation and/or function behaviour. |