Package: devscripts
Version: 2.24.1
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

While running `checkbashisms.pl` against `/usr/bin/texi2pdf` from the
`texinfo` package I encountered an unexpected error. I have reduced
the situation to a minimal test case as follows:

$ cat test.sh
#!/bin/sh
 \
exec $0
$ checkbashisms.pl test.sh
script test.sh appears to be a shell wrapper; only checking the first 2 lines
error: test.sh: EOF reached while on line continuation.

I am reporting this issue from a non-debian system. If necessary I will
be happy to boot up a debian live environment to reproduce the issue there.

-- System Information:
Architecture: amd64 (x86_64)

Kernel: Linux 6.10.10-arch1-1 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/bash
Init: systemd (via /run/systemd/system)

Reply via email to