-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

Am Fr den 14. Mai 2010 um 11:54 schrieb Sven Joachim:
> > Line 482 - 494 of /usr/sbin/laptop_mode has bashisms (I think the {}
> > stuff is not supported by POSIX). At least it do _not_ work under dash.
> 
> This is because dash's IFS handling is broken in 0.5.5.1-4, not because
> of bashisms.

Ah, ok. SHouldn't be there a "Conflict: dash (= 0.5.5.1-4)"?

> > Note that having bashishms in a /bin/sh script is a violation of debian
> > policy!
> 
> Surely; I've been using laptop-mode-tools successfully with dash for two
> years.


Hmm.. me too but I do not know how long the lines are in the script.

For the moment the workaround is to replace /bin/sh by /bin/bash in the
shebang line.

Regards
   Klaus
- -- 
Klaus Ethgen                            http://www.ethgen.de/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <kl...@ethgen.de>
Fingerprint: D7 67 71 C4 99 A6 D4 FE  EA 40 30 57 3C 88 26 2B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEVAwUBS+07L5+OKpjRpO3lAQpUoAf/Xs6PUHbUiGQ3dwf+9LPv/7c5RKReaTn1
d5mimXf0Tm/dSamxd/AHpBS/I9Rx23GbXRYFE2v/EOWe6En6Tla+RE+h9ZWsmTjd
fgo2PQaDQMZ2DM/tqJOU8F8Gu+Dc7msV7MYPmlFlkfTs68oZW2GXiC/QyrmJ3BjZ
qYUahKsj2MgKilCpL7XPdf5L2LMdgt7wwLSZ+YSSvkVIg5oEKkAxIX1mw93UIyAz
Zz0RWR9u36Uh7NkQnklSmRUQsssuN9DDicR1c8ocvt6bjn1PxC+G1r5Xz2TDMbGs
Ml7sex6i0gtnd1iylpVAeDBNVCSwIbUwhluPGAQabKcWc3w2qlEPHw==
=c6tC
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to