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: psab...@redhat.com
          Reporter: es...@ifi.uio.no
        QA Contact: extras...@fedoraproject.org
                CC: iarn...@gmail.com, perl-devel@lists.fedoraproject.org,
                    psab...@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
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to