Re: trap commands in auxiliary scripts

Bruno Haible via Discussion list for automake <[email protected]> Fri, 05 Jun 2026 21:25:39 +0200
Newsgroups gmane.comp.sysutils.automake.general
Organization GNU
Message-ID <29195270.gRfpFWEtPU@nimes>
Jacob Bachmeyer wrote:
> Maybe packages using automake should refuse to build in 
> directories with absolute full names containing quote marks?

They already do:

cd /tmp/hello-2.12/build\'s
$ ../configure 
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... configure: error: unsafe absolute working directory name

cd /tmp/hello-2.12/build\"d
$ ../configure 
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... configure: error: unsafe absolute working directory name