Parse perl-homedir configuration bash syntax by csh profile script
This commit is contained in:
parent
98fc78feab
commit
dc76f6baf8
@ -5,10 +5,10 @@ setenv PERL_HOMEDIR 1
|
|||||||
|
|
||||||
# load our configs, aka opportunities to set PERL_HOMEDIR=0
|
# load our configs, aka opportunities to set PERL_HOMEDIR=0
|
||||||
if (-f /etc/sysconfig/perl-homedir) then
|
if (-f /etc/sysconfig/perl-homedir) then
|
||||||
source /etc/sysconfig/perl-homedir
|
eval `sed -ne 's|^[[:blank:]]*\([^#=]\{1,\}\)=\([^=]*\)|setenv \1 \2;|p' /etc/sysconfig/perl-homedir`
|
||||||
endif
|
endif
|
||||||
if (-f "$HOME/.perl-homedir") then
|
if (-f "$HOME/.perl-homedir") then
|
||||||
source "$HOME/.perl-homedir"
|
eval `sed -ne 's|^[[:blank:]]*\([^#=]\{1,\}\)=\([^=]*\)|setenv \1 \2;|p' "$HOME/.perl-homedir"`
|
||||||
endif
|
endif
|
||||||
|
|
||||||
alias perlll 'eval "`perl -Mlocal::lib`"'
|
alias perlll 'eval "`perl -Mlocal::lib`"'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: perl-local-lib
|
Name: perl-local-lib
|
||||||
Version: 1.008010
|
Version: 1.008010
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
# lib/local/lib.pm -> GPL+ or Artistic
|
# lib/local/lib.pm -> GPL+ or Artistic
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -55,6 +55,7 @@ Group: Development/Libraries
|
|||||||
Summary: Per-user Perl local::lib setup
|
Summary: Per-user Perl local::lib setup
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: /usr/bin/cpan
|
Requires: /usr/bin/cpan
|
||||||
|
Requires: /usr/bin/sed
|
||||||
|
|
||||||
%description -n perl-homedir
|
%description -n perl-homedir
|
||||||
perl-homedir configures the system to automatically create a ~/perl5
|
perl-homedir configures the system to automatically create a ~/perl5
|
||||||
@ -95,6 +96,10 @@ make test
|
|||||||
%{_sysconfdir}/profile.d/*
|
%{_sysconfdir}/profile.d/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 25 2014 Petr Pisar <ppisar@redhat.com> - 1.008010-6
|
||||||
|
- Parse perl-homedir configuration bash syntax by csh profile script
|
||||||
|
(bug #1122993)
|
||||||
|
|
||||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.008010-5
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.008010-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user