]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
autoupdate
authorKarl Berry <karl@freefriends.org>
Sun, 31 May 2026 14:39:50 +0000 (07:39 -0700)
committerKarl Berry <karl@freefriends.org>
Sun, 31 May 2026 14:39:50 +0000 (07:39 -0700)
build-aux/compile [changed mode: 0644->0755]
build-aux/depcomp [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index fc4e9e7..b9d3262
@@ -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 <tromey@cygnus.com>.
@@ -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.
 "$@"
old mode 100644 (file)
new mode 100755 (executable)
index 7226a9a..69e5eec
@@ -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