Re: trap commands in auxiliary scripts
Bruno Haible via Discussion list for automake <[email protected]> Sat, 30 May 2026 00:46:50 +0200
| Newsgroups | gmane.comp.sysutils.automake.general |
|---|---|
| Organization | GNU |
| Message-ID | <3211101.CbtlEUcBR6@nimes> |
This is a multi-part message in MIME format. --nextPart4763334.cEBGB3zze1 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" I wrote: > Here's a proposed patch. Oops, there was a mistake in that patch. Fixed through this follow-up. --nextPart4763334.cEBGB3zze1 Content-Disposition: attachment; filename="0001-compile-depcomp-ylwrap-Fix-quoting-bug-part-2.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="x-UTF_8J"; name="0001-compile-depcomp-ylwrap-Fix-quoting-bug-part-2.patch" From 500c273e707565c77d45e84c3737fe88448335ac Mon Sep 17 00:00:00 2001 From: Bruno Haible <[email protected]> Date: Sat, 30 May 2026 00:38:01 +0200 Subject: [PATCH] compile, depcomp, ylwrap: Fix quoting bug, part 2. * lib/compile (scriptversion): Update. * lib/depcomp (scriptversion): Update. (cleanup): Fix quoting bug in last commit. * lib/ylwrap (scriptversion): Update. --- lib/compile | 2 +- lib/depcomp | 4 ++-- lib/ylwrap | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/compile b/lib/compile index 4e4fb7aa9..b9d3262f5 100755 --- a/lib/compile +++ b/lib/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 <[email protected]>. diff --git a/lib/depcomp b/lib/depcomp index 3d2205e7e..69e5eec6c 100755 --- a/lib/depcomp +++ b/lib/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. @@ -384,7 +384,7 @@ pgcc) # the same $tmpdepfile. lockdir=$base.d-lock cleanup () { - echo '$0: caught signal, cleaning up...' >&2 + echo "$0: caught signal, cleaning up..." >&2 rmdir "$lockdir" } trap "cleanup; exit 1" 1 2 13 15 diff --git a/lib/ylwrap b/lib/ylwrap index bf892d964..a0a60eecc 100755 --- a/lib/ylwrap +++ b/lib/ylwrap @@ -1,7 +1,7 @@ #! /bin/sh # ylwrap - wrapper for lex/yacc invocations. -scriptversion=2025-09-20.21; # UTC +scriptversion=2026-05-29.23; # UTC # Copyright (C) 1996-2026 Free Software Foundation, Inc. # -- 2.54.0 --nextPart4763334.cEBGB3zze1--