[Bug 1221361] /etc/profile.d/alljava.csh sets JAVA_HOME incorrectly
https://bugzilla.suse.com/show_bug.cgi?id=1221361 https://bugzilla.suse.com/show_bug.cgi?id=1221361#c8 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(werner@suse.com) | --- Comment #8 from Dr. Werner Fink <werner@suse.com> --- (In reply to Ruediger Oertel from comment #4)
Werner: any good hint how to do the stderr redir for this case we tried so solve bug#1218232 with the lines:
-+if ( -l /etc/alternatives/javac ) then -+ set ALTERNATIVES_JAVAC_LINK=`realpath /etc/alternatives/javac` ++if ( -l /etc/alternatives/javac && -e /etc/alternatives/javac ) then ++ set ALTERNATIVES_JAVAC_LINK=`realpath /etc/alternatives/javac 2> /dev/null`
(t)csh can only rediret stdout or both stdout *and* stderr ... means > or >& -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com