logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: da9a32205a2d3370ac4b0ea82c7c7476742b8696
parent 3a130d4385847eb70801554d76336c87f1de8893
Author: fosslinux <fosslinux@aussies.space>
Date:   Wed,  8 Mar 2023 14:39:46 +1100

Make automake compatible with bash 2.04

Why automake enforces a shell compatible with a *testsuite* in their
configure script is beyond me.

Diffstat:

Msysa/automake-1.15.1/patches/aclocal_glob.patch2+-
Asysa/automake-1.15.1/patches/shellcheck-bypass.patch35+++++++++++++++++++++++++++++++++++
2 files changed, 36 insertions(+), 1 deletion(-)

diff --git a/sysa/automake-1.15.1/patches/aclocal_glob.patch b/sysa/automake-1.15.1/patches/aclocal_glob.patch @@ -1,4 +1,4 @@ -SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu> +SPDX-FileCopyrightText: © 2021 Andrius Štikonas <andrius@stikonas.eu> SPDX-License-Identifier: GPL-2.0-or-later diff --git a/sysa/automake-1.15.1/patches/shellcheck-bypass.patch b/sysa/automake-1.15.1/patches/shellcheck-bypass.patch @@ -0,0 +1,35 @@ +SPDX-FileCopyrightText: © 2023 fosslinux <fosslinux@aussies.space> +SPDX-License-Identifier: GPL-2.0-or-later + +Fixes configure script to work with older bash + + +--- configure.ac.bak 2023-03-08 14:34:57.009268432 +1100 ++++ configure.ac 2023-03-08 14:35:27.947964581 +1100 +@@ -272,14 +272,6 @@ + [], [am_score=1; break]) + + _AM_CHECK_SHELL_FEATURE([$1], +- [supports \${@%:@var}], +- [zero='' one='x' twelve=' foobar baz!' \ +- && test ${@%:@zero} -eq 0 \ +- && test ${@%:@one} -eq 1 \ +- && test ${@%:@twelve} -eq 12], +- [], [am_score=1; break]) +- +- _AM_CHECK_SHELL_FEATURE([$1], + [supports \${var@%:@glob} and \${var%glob}], + [v=a/b/c \ + && test ${v@%:@*/} = b/c \ +@@ -313,11 +305,6 @@ + + echo 'alias false=echo' > conftest-alias.sh + echo 'false && test "$(false 97)" = 97' >> conftest-alias.sh +- _AM_CHECK_SHELL_FEATURE([$1], +- [supports alias named like shell builtins], +- [. ./conftest-alias.sh], +- [rm -f conftest-alias.sh], +- [rm -f conftest-alias.sh; am_score=1; break]) + + _AM_CHECK_SHELL_FEATURE([$1], + [supports "test -e"],