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

Re: Lintian warnings/errors



Re: Michael Stilkerich in <[🔎] 20060209012128.GA32009@mike2k.de>
> The error is an
> E: fvwm-crystal: shell-script-fails-syntax-check ./usr/share/fvwm-crystal/fvwm/Applications/20~Games/Arcade/~jumpnbump-menu~Jump'N'Bump

> #!/bin/sh
> 
> exec jumpnbump-menu $@

The general rule for sh scripts is "always quote stuff", so the above
line should read

exec jumpnbump-menu "$@"

This makes a difference when one of the arguments contains a space,
the special "$@" magic (as opposed to "$*") expands these arguments
correctly.

I don't know though if that's the error that lintian complains about.

Christoph
-- 
cb@df7cb.de | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature


Reply to: