[Patch] Bashism in startkde
David Johnson
david at usermode.org
Mon Jun 1 03:15:49 BST 2009
On Sunday 31 May 2009 06:42:34 pm Armin Berres wrote:
>
> Debian and Ubuntu both want to support to use something else but
> /bin/bash as /bin/sh. Therefore it is required, that all scripts whith
> "#!/bin/sh" contain no bash specific code, but just POSIX features.
This has been best practice since the early days of bash (and ksh). While bash
will run Bourne/POSIX shells scripts flawless, the reverse is not true. Debian
(and most derivatives), Slackware, *BSD, Solaris, many embedded Linuxes, etc,
don't have bash linked to /bin/sh.
--
David Johnson
More information about the kde-core-devel
mailing list