Pacman frontend
FS#105 - Yaourt shebang points to /bin/sh while it's not POSIX compliant
Attached to Project:
yaourt
Opened by Raziel (RazZziel) - Sunday, 02 March 2008, 01:31 GMT+2
Last edited by Julien MISCHKOWITZ (wain) - Sunday, 02 March 2008, 12:43 GMT+2
Opened by Raziel (RazZziel) - Sunday, 02 March 2008, 01:31 GMT+2
Last edited by Julien MISCHKOWITZ (wain) - Sunday, 02 March 2008, 12:43 GMT+2
|
DetailsJust to avoid posible problems, the shebang should be changed to /bin/bash or /usr/bin/env bash.
Another much more costly solution would be make the script POSIX compliant. [raziel@Bebop ~]$ bash `which yaourt` --- Yaourt version 0.8.12 --- (...) [raziel@Bebop ~]$ dash `which yaourt` /usr/bin/yaourt: 167: Syntax error: Bad substitution |
This task depends upon
Closed by Julien MISCHKOWITZ (wain)
Sunday, 02 March 2008, 12:43 GMT+2
Reason for closing: Corrigé
Additional comments about closing: already fixed in pre-release:
http://archiwain.free.fr/yaourt/testing/
Sunday, 02 March 2008, 12:43 GMT+2
Reason for closing: Corrigé
Additional comments about closing: already fixed in pre-release:
http://archiwain.free.fr/yaourt/testing/
Comment by Julien MISCHKOWITZ (wain) -
Sunday, 02 March 2008, 12:51 GMT+2
additional notes here: http://bugs.archlinux.fr/task/92