summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-10-13 19:49:51 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-10-13 19:49:51 +0000
commitb72ffb182661eb7250ce452f768aeb4f12e6c1b6 (patch)
treee4432ce7b19892ec0ad4c2abb9ada2f2efb72f7c
parentd362ede3ccf9559d29f4534cbffe03b564db0f80 (diff)
downloaddrakx-backup-do-not-use-b72ffb182661eb7250ce452f768aeb4f12e6c1b6.tar
drakx-backup-do-not-use-b72ffb182661eb7250ce452f768aeb4f12e6c1b6.tar.gz
drakx-backup-do-not-use-b72ffb182661eb7250ce452f768aeb4f12e6c1b6.tar.bz2
drakx-backup-do-not-use-b72ffb182661eb7250ce452f768aeb4f12e6c1b6.tar.xz
drakx-backup-do-not-use-b72ffb182661eb7250ce452f768aeb4f12e6c1b6.zip
perl_checker fix (this one is needed because else perl_checker stop
package build [hint perl_checker my love you really should not die on such stugg: this should be a warning, not an error])
-rwxr-xr-xperl-install/standalone/drakfont2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont
index 5f3dffa5c..3dd3010c6 100755
--- a/perl-install/standalone/drakfont
+++ b/perl-install/standalone/drakfont
@@ -325,7 +325,7 @@ sub convert_ttf_fonts {
sub move_fonts {
my ($src_dir, $dest_dir, @extensions) = @_;
- my @fonts = map { s@.*/@@; $_ } map { glob("$src_dir/*.$_") } @extensions;
+ my @fonts = map { s!.*/!!; $_ } map { glob("$src_dir/*.$_") } @extensions;
system("cd $src_dir && mv @fonts $dest_dir") if @fonts;
}