commit: 9f83e1213ea65cf6f2687c0c789b969cdf4cb93a
parent a6630ffb67e0b9525992db6172e202abcaa79c34
Author: Andrius Štikonas <andrius@stikonas.eu>
Date: Fri, 16 Apr 2021 13:11:06 +0100
Merge pull request #104 from bittorf/fix-bash5.1
fixes bash build.
Diffstat:
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git 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 <pdersey@gmail.com>
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
+# SPDX-FileCopyrightText: 2021 Bastian Bittorf <bb@npl.de>
#
# 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() {