diff --git a/sysa/bash-5.1/bash-5.1.sh b/sysa/bash-5.1/bash-5.1.sh index e20906b..a27faaf 100755 --- a/sysa/bash-5.1/bash-5.1.sh +++ b/sysa/bash-5.1/bash-5.1.sh @@ -1,5 +1,6 @@ # SPDX-FileCopyrightText: 2021 Paul Dersey # SPDX-FileCopyrightText: 2021 Andrius Štikonas +# SPDX-FileCopyrightText: 2021 Bastian Bittorf # # SPDX-License-Identifier: GPL-3.0-or-later @@ -11,9 +12,10 @@ src_prepare() { rm configure autoconf-2.61 - # Without this bash build can be non-deterministic when using - # our old bash 2.05b which was built with Mes C library. - sed -i 's/sleep 3/sleep 3; sync/' builtins/psize.sh + # avoid non-deterministic build: + printf '%s\n%s\n' \ + '#!/bin/sh' \ + 'echo "#define PIPESIZE 65536"' >builtins/psize.sh } src_configure() {