diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-09-04 12:25:43 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-09-04 12:25:43 +0000 |
commit | b43cff12c0012bef87075ceb9090d4e83fbaf5de (patch) | |
tree | 97fcb647086802536fc39d09d80b2b341711687a | |
parent | 6908e78dc4afe828dd2f154fb886648c53e0f254 (diff) | |
download | perl-MDK-Common-b43cff12c0012bef87075ceb9090d4e83fbaf5de.tar perl-MDK-Common-b43cff12c0012bef87075ceb9090d4e83fbaf5de.tar.gz perl-MDK-Common-b43cff12c0012bef87075ceb9090d4e83fbaf5de.tar.bz2 perl-MDK-Common-b43cff12c0012bef87075ceb9090d4e83fbaf5de.tar.xz perl-MDK-Common-b43cff12c0012bef87075ceb9090d4e83fbaf5de.zip |
setVarsInSh: fix writing "|" in sh config files
-rw-r--r-- | MDK/Common.pm.pl | 2 | ||||
-rw-r--r-- | MDK/Common/System.pm | 2 | ||||
-rw-r--r-- | perl-MDK-Common.spec | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/MDK/Common.pm.pl b/MDK/Common.pm.pl index bf785cc..2a4e5ea 100644 --- a/MDK/Common.pm.pl +++ b/MDK/Common.pm.pl @@ -73,7 +73,7 @@ our @ISA = qw(Exporter); # perl_checker: RE-EXPORT-ALL our @EXPORT = map { @$_ } map { values %{'MDK::Common::' . $_ . 'EXPORT_TAGS'} } grep { /::$/ } keys %MDK::Common::; -our $VERSION = "1.2.2"; +our $VERSION = "1.2.3"; 1; EOF diff --git a/MDK/Common/System.pm b/MDK/Common/System.pm index 0f77d98..a947523 100644 --- a/MDK/Common/System.pm +++ b/MDK/Common/System.pm @@ -376,7 +376,7 @@ sub setVarsInShMode { if ($val =~ /["`\$]/) { $val =~ s/(')/\\$1/g; $val = qq('$val'); - } elsif ($val =~ /['\s\\]/) { + } elsif ($val =~ /['|\s\\]/) { $val =~ s/(["\\])/\\$1/g; $val = qq("$val"); } diff --git a/perl-MDK-Common.spec b/perl-MDK-Common.spec index 3f129d9..29b9d34 100644 --- a/perl-MDK-Common.spec +++ b/perl-MDK-Common.spec @@ -42,6 +42,9 @@ rm -rf $RPM_BUILD_ROOT # MODIFY IN THE CVS: cvs.mandrakesoft.com:/cooker soft/perl-MDK-Common %changelog +* Mon Sep 4 2006 Pixel <pixel@mandriva.com> 1.2.3-1mdv2007.0 +- setVarsInSh: fix writing "|" in sh config files + * Tue Jan 3 2006 Pixel <pixel@mandriva.com> 1.2.2-1mdk - better fix for syscall.ph used somewhere else |