yaourt

Pacman frontend
Tasklist

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
Task Type Rapport de Bug
Category Program
Status Closed
Assigned To Julien MISCHKOWITZ (wain)
Operating System Linux
Severity Low
Priority Normal
Reported Version Current
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Just 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/
Comment by Julien MISCHKOWITZ (wain) - Sunday, 02 March 2008, 12:51 GMT+2
additional notes here: http://bugs.archlinux.fr/task/92

Loading...