[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: List of packages shipping shell scripts with bashisms + MBF proposal



Stefano Zacchiroli <zack@debian.org> writes:

> This is a false positive:
>
>   $ checkbashisms /usr/bin/mkcamlp5
>   possible bashism in /usr/bin/mkcamlp5 line 43 (let ...):
>   echo "let _ = Dynlink.add_available_units crc_unit_list" >> $CRC.ml
>
> checkbashisms is complaining about the "let", which is part of a string
> which is being outputed, not a line of shell script which will be
> executed.

checkbashisms should be updated to use the current code in lintian, which
(more) correctly handles quoted strings (and heredocs and various other
similar complications).

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: