Package: libtool
Version: 2.4.6-2
Severity: minor
X-Debbugs-Cc: helm...@debian.org

Dear Maintainer,

https://sources.debian.net/src/libtool/2.4.6-2/bootstrap/?hl=556#L556 is:

#    debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name

That line is technically wrong: if any positional argument contains a
semicolon, that semicolon would be interpreted by the eval, as in:
.
    $ set -- 'foo;bar'
    $ eval echo $* 
    foo
    bash: bar: command not found

The 'eval' should simply be removed.

This seems like a minor issue, but #-devel said it was worth filing,
so here I am.

Cheers,

Daniel
(and let's sidestep the echo/printf question, shall we?)

Reply via email to