Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#42176 - [clojure] bash scripts use the wrong interpreter
Attached to Project:
Community Packages
Opened by dz (dz) - Monday, 29 September 2014, 18:52 GMT
Last edited by Alexander F. Rødseth (xyproto) - Wednesday, 01 October 2014, 13:03 GMT
Opened by dz (dz) - Monday, 29 September 2014, 18:52 GMT
Last edited by Alexander F. Rødseth (xyproto) - Wednesday, 01 October 2014, 13:03 GMT
|
DetailsDescription:
/usr/bin/clj and /usr/bin/clojure are written in bash, but specify a plain POSIX shell as their interpreter. This breaks when /bin/sh is not a link to bash. Being explicitly a bash script, the script should explicitly name bash as its interpreter. Additional info: $ pacman -Q clojure clojure 1.6.0-2 Steps to reproduce: $ readlink /bin/sh dash $ clj /usr/bin/clj: 138: exec: -p:: not found |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Wednesday, 01 October 2014, 13:03 GMT
Reason for closing: Fixed
Wednesday, 01 October 2014, 13:03 GMT
Reason for closing: Fixed
If it is desireable that the scripts are dash compatible instead, this is welcome as a separate feature request.
Thanks for reporting.