[Bug 1033018] syntax error in /etc/profile.d/perl-homedir.csh (perl-local-lib/perl-homedir)

bugzilla at redhat.com bugzilla at redhat.com
Thu Nov 21 13:05:44 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=1033018



--- Comment #1 from Petr Pisar <ppisar at redhat.com> ---
Created attachment 827174
  --> https://bugzilla.redhat.com/attachment.cgi?id=827174&action=edit
Fix

This patch with these changes:

--- a/perl-homedir.csh
+++ b/perl-homedir.csh
@@ -11,10 +11,10 @@ if (-f "$HOME/.perl-homedir") then
        source "$HOME/.perl-homedir"
 endif

-alias perlll 'eval `perl -Mlocal::lib`'
+alias perlll 'eval "`perl -Mlocal::lib`"'

 # if system default
 if ("x$PERL_HOMEDIR" == "x1") then
-       eval `perl -Mlocal::lib`
+       eval "`perl -Mlocal::lib`"
 endif


fix this issue. However the patch is not suitable for upstream, as upstream is
going to rewrite the code.

-- 
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=47sfdlwcx2&a=cc_unsubscribe



More information about the perl-devel mailing list