From: Karl Berry Date: Sun, 31 May 2026 14:39:50 +0000 (-0700) Subject: autoupdate X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=22340407b97cebed50b21486a598e9d6c6235759;p=thirdparty%2Fgnulib.git autoupdate --- diff --git a/build-aux/compile b/build-aux/compile old mode 100644 new mode 100755 index fc4e9e706f..b9d3262f51 --- a/build-aux/compile +++ b/build-aux/compile @@ -1,7 +1,7 @@ #! /bin/sh # Wrapper for compilers which do not understand '-c -o'. -scriptversion=2025-06-18.21; # UTC +scriptversion=2026-05-29.23; # UTC # Copyright (C) 1999-2026 Free Software Foundation, Inc. # Written by Tom Tromey . @@ -338,7 +338,10 @@ while true; do sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. -trap "rmdir '$lockdir'; exit 1" 1 2 15 +cleanup () { + rmdir "$lockdir" +} +trap "cleanup; exit 1" 1 2 15 # Run the compile. "$@" diff --git a/build-aux/depcomp b/build-aux/depcomp old mode 100644 new mode 100755 index 7226a9a762..69e5eec6c9 --- a/build-aux/depcomp +++ b/build-aux/depcomp @@ -1,7 +1,7 @@ #! /bin/sh # depcomp - compile a program generating dependencies as side-effects -scriptversion=2025-06-18.21; # UTC +scriptversion=2026-05-29.23; # UTC # Copyright (C) 1999-2026 Free Software Foundation, Inc. @@ -383,11 +383,11 @@ pgcc) # problems in parallel builds. Use a locking strategy to avoid stomping on # the same $tmpdepfile. lockdir=$base.d-lock - trap " - echo '$0: caught signal, cleaning up...' >&2 - rmdir '$lockdir' - exit 1 - " 1 2 13 15 + cleanup () { + echo "$0: caught signal, cleaning up..." >&2 + rmdir "$lockdir" + } + trap "cleanup; exit 1" 1 2 13 15 numtries=100 i=$numtries while test $i -gt 0; do