[pacman-dev] configurable shell for install scripts

Florian Pritz bluewind at server-speed.net
Sun Mar 28 16:18:15 CEST 2010

On 28.03.2010 14:27, Allan McRae wrote:
> On 28/03/10 22:12, Dieter Plaetinck wrote:
>> Hi Allan,
>> can't we use shebangs instead of inventing our own which-shell-to-use
>> implementation? (#!/bin/sh, #!/bin/bash, ..)
> No we can not unless I am missing something.  We need to source the 
> script and run a particular function within that script.

head -n1 installscript | grep '^#!/.*$'

Florian Pritz -- {flo,bluewind}@server-speed.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20100328/5847f07c/attachment.bin>

More information about the pacman-dev mailing list