FS#32789 - [pacman] should run install scripts with /bin/bash to allow non-bash /bin/sh
Attached to Project:
Pacman
Opened by Nico Schottelius (telmich) - Wednesday, 21 November 2012, 23:03 GMT
Last edited by Allan McRae (Allan) - Wednesday, 21 November 2012, 23:47 GMT
Opened by Nico Schottelius (telmich) - Wednesday, 21 November 2012, 23:03 GMT
Last edited by Allan McRae (Allan) - Wednesday, 21 November 2012, 23:47 GMT
|
Details
As I am running some thousands of /bin/sh calls each and
every day, having /bin/sh point to /bin/bash (instead of
/bin/dash) makes the process way slower than necessary.
I manually ln -sf'd /bin/dash to /bin/sh, but now the installation of packages like cpio fails: (1/1) installing cpio [########################################] 100% sh: 2: /tmp/alpm_J8srra/.INSTALL: Syntax error: "(" unexpected error: command failed to execute correctly |
This task depends upon
Closed by Allan McRae (Allan)
Wednesday, 21 November 2012, 23:47 GMT
Reason for closing: Fixed
Additional comments about closing: in git
Wednesday, 21 November 2012, 23:47 GMT
Reason for closing: Fixed
Additional comments about closing: in git
In my opinion we should expect install scripts to use bashisms, and therefore pacman should call /bin/bash instead. So I'll reassign this as a pacman bug and see what pacman devs think.