Bug#772266: dh-systemd: bashism in /bin/sh script

Michael Biebl biebl at debian.org
Sat Dec 6 20:19:43 GMT 2014


Am 06.12.2014 um 12:26 schrieb Raphael Geissert:
> Package: dh-systemd
> Severity: minor
> Version: 1.22
> User: debian-release at lists.debian.org
> Usertags: goal-dash
> 
> Hi,
> 
> I've ran checkbashisms (from the 'devscripts' package) over the whole
> archive and I found that your package has a /bin/sh script that uses a
> "bashism".
> 
> checkbashisms' output:
>> possible bashism in ./usr/share/dh-systemd/skeleton.redhat line 39 ($"foo"
>> should be eval_gettext "foo"):
>> 	  echo -n $"Starting $NAME: "
>> possible bashism in ./usr/share/dh-systemd/skeleton.redhat line 50 ($"foo"
>> should be eval_gettext "foo"):
>> 	  echo -n $"Stopping $NAME: "
>> possible bashism in ./usr/share/dh-systemd/skeleton.redhat line 116 
> ($"foo"
>> should be eval_gettext "foo"):
>> 		  echo $"Usage: $0
>> {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
> 
> 
>

Afaik this is a false positive. That file is a skeleton which is
processed by systemd2init and you'd have to actually check the resulting
shell scripts.

CCing Ondřej, since this is his code.


Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20141206/d1237bfc/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list