Arch Linux

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!
Tasklist

FS#21836 - [openjdk6] broken /etc/profile.d/openjdk6.csh

Attached to Project: Arch Linux
Opened by Paolo (peoro) - Friday, 26 November 2010, 10:51 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 27 November 2010, 10:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
There's a syntax error in /etc/profile.d/openjdk6.csh provided by openjdk6 6.b20_1.9.2-1

It runs:
setenv J2SDKDIR=/usr/lib/jvm/java-6-openjdk
setenv J2REDIR=$J2SDKDIR/jre
setenv JAVA_HOME=/usr/lib/jvm/java-6-openjdk

But this syntax doesn't seem to be accepted by csh setenv:
setenv: Syntax Error.

The right syntax should be without the '=' sign:
setenv J2SDKDIR /usr/lib/jvm/java-6-openjdk
setenv J2REDIR $J2SDKDIR/jre
setenv JAVA_HOME /usr/lib/jvm/java-6-openjdk


Additional info:
* package version(s)
openjdk6 6.b20_1.9.2-1
tcsh 6.17.00-1

Steps to reproduce:
Just install openjdk6 6.b20_1.9.2-1 and tcsh 6.17.00-1, then open a [t]csh shell.
It will show:
setenv: Syntax Error.
And will stop executing login scripts (included ~/.cshrc)
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 27 November 2010, 10:05 GMT
Reason for closing:  Fixed

Loading...