Arch Linux

Please read this before reporting a bug:

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#77180 - [java-runtime-common] /etc/profile.d/jre.csh contains bashisms

Attached to Project: Arch Linux
Opened by Andreas Baumann (andreas_baumann) - Thursday, 19 January 2023, 06:28 GMT
Last edited by freswa (frederik) - Thursday, 19 January 2023, 12:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No



This is a bashism in a C-Shell init fil:

setenv PATH "${PATH}:/usr/lib/jvm/default/bin"

Additional info:
* package version(s): java-runtime-common 3-4

Steps to reproduce:

Start a 'tcsh' or 'csh', you get:

append_path: Command not found.
export: Command not found.


Revert to csh/tcsh syntax in '/etc/profile.d/jre.csh':

setenv PATH "${PATH}:/usr/lib/jvm/default/bin"

This task depends upon

Closed by  freswa (frederik)
Thursday, 19 January 2023, 12:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  java-*-common-3-5