[Bug 1186698] New: /etc/profile.d/perl-homedir.csh contains bourne shell "if" code. Makes tcsh prompt "if: Expression Syntax."
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1186698
Bug ID: 1186698
Summary: /etc/profile.d/perl-homedir.csh contains bourne shell
"if" code. Makes tcsh prompt "if: Expression Syntax."
Product: Fedora EPEL
Version: el6
Component: perl-local-lib
Assignee: psabata(a)redhat.com
Reporter: eskil(a)ifi.uio.no
QA Contact: extras-qa(a)fedoraproject.org
CC: iarnell(a)gmail.com, perl-devel(a)lists.fedoraproject.org,
psabata(a)redhat.com
Description of problem:
/etc/profile.d/perl-homedir.csh contains bourne shell "if" code. Makes tcsh
prompt "if: Expression Syntax."
/etc/profile.d/perl-homedir.csh is in the perl-homedir RPM package.
Version-Release number of selected component (if applicable):
perl-homedir-1.006007-3.el6.noarch
How reproducible:
Every time.
Steps to Reproduce:
1. install tcsh and perl-local-lib and perl-homedir.
2. invoke tcsh
Actual results:
$ tcsh
if: Expression Syntax.
Expected results:
$ tcsh
$
Additional info:
Offending bourne shell (bash) code in /etc/profile.d/perl-homedir.csh :
----
# if system default
if [ "x$PERL_HOMEDIR" = "x1" ] ; then
eval `perl -Mlocal::lib`
fi
----
Suggested solution:
Either remove the /etc/profile.d/perl-homedir.csh or put proper csh code in the
file.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=VxL9E8n8mz&a=cc_unsubscribe
8 years, 11 months