mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 05:57:54 +00:00
env_parallel.bash: Allow using pipefail + inherit_errexit.
This commit is contained in:
parent
1ef1b973c0
commit
97adff0293
|
@ -32,7 +32,8 @@ env_parallel() {
|
||||||
# env_parallel.bash
|
# env_parallel.bash
|
||||||
|
|
||||||
_names_of_ALIASES() {
|
_names_of_ALIASES() {
|
||||||
compgen -a
|
# No aliases will return false. This error should be ignored.
|
||||||
|
compgen -a || true
|
||||||
}
|
}
|
||||||
_bodies_of_ALIASES() {
|
_bodies_of_ALIASES() {
|
||||||
local _i
|
local _i
|
||||||
|
@ -387,7 +388,7 @@ _parset_main() {
|
||||||
return 255
|
return 255
|
||||||
fi
|
fi
|
||||||
if [ "$_parset_NAME" = "--version" ] ; then
|
if [ "$_parset_NAME" = "--version" ] ; then
|
||||||
echo "parset 20210322 (GNU parallel `parallel --minversion 1`)"
|
echo "parset 20210323 (GNU parallel `parallel --minversion 1`)"
|
||||||
echo "Copyright (C) 2007-2021 Ole Tange, http://ole.tange.dk and Free Software"
|
echo "Copyright (C) 2007-2021 Ole Tange, http://ole.tange.dk and Free Software"
|
||||||
echo "Foundation, Inc."
|
echo "Foundation, Inc."
|
||||||
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"
|
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"
|
||||||
|
|
Loading…
Reference in a new issue