skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit 39c64f2cc2f4aec17686afd158cc7fbd5d897153
parent f2c9b3cb899555af1a295df7341afc1cf55f7c71
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Mon,  1 Feb 2021 19:26:22 +0000

 Work around broken shells, including bash and dash. Yeah.

Diffstat:
Mconfigure | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure @@ -319,7 +319,7 @@ trylibs () { libfile="$2".lib echo "Checking whether system has $3..." shift 3 - if args=`iscached $name 3>&1 1>&4 4>&-` 4>&1 ; then : + if { args=`iscached $name 3>&1 1>&4 4>&-` ; } 4>&1 ; then : elif args=`detectlibs "$name" "$@"` ; then echo "${name}: yes" >> "${sysdeps}/sysdeps" if test -z "$args" ; then