Mageia Bugzilla – Attachment 6695 Details for
Bug 16074
Drakfont is unable to import OTF fonts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
fix moving fonts
0005-fix-moving-fonts-mga-16074.patch (text/plain), 725 bytes, created by
Thierry Vignaud
on 2015-06-03 10:56:44 CEST
(
hide
)
Description:
fix moving fonts
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2015-06-03 10:56:44 CEST
Size:
725 bytes
patch
obsolete
>From 7d4802756e5b5284ace9789ceffc44dbe86dbb4c Mon Sep 17 00:00:00 2001 >From: Thierry Vignaud <thierry.vignaud@gmail.com> >Date: Thu, 28 May 2015 21:48:11 -0400 >Subject: [PATCH 5/7] fix moving fonts (mga#16074) > >--- > drakfont | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/drakfont b/drakfont >index 817a7a6..23dbf37 100755 >--- a/drakfont >+++ b/drakfont >@@ -309,7 +309,7 @@ sub move_fonts { > my ($src_dir, $dest_dir, @extensions) = @_; > my @fonts = map { s!.*/!!; $_ } map { glob("$src_dir/*.$_") } @extensions; > return if !@fonts; >- system('mv', "$src_dir/$_", $dest_dir) foreach @fonts; >+ system('mv', "$src_dir/$_", "$src_dir/$dest_dir") foreach @fonts; > } > > sub my_rm_rf { >-- >2.3.2 >
From 7d4802756e5b5284ace9789ceffc44dbe86dbb4c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud <thierry.vignaud@gmail.com> Date: Thu, 28 May 2015 21:48:11 -0400 Subject: [PATCH 5/7] fix moving fonts (mga#16074) --- drakfont | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drakfont b/drakfont index 817a7a6..23dbf37 100755 --- a/drakfont +++ b/drakfont @@ -309,7 +309,7 @@ sub move_fonts { my ($src_dir, $dest_dir, @extensions) = @_; my @fonts = map { s!.*/!!; $_ } map { glob("$src_dir/*.$_") } @extensions; return if !@fonts; - system('mv', "$src_dir/$_", $dest_dir) foreach @fonts; + system('mv', "$src_dir/$_", "$src_dir/$dest_dir") foreach @fonts; } sub my_rm_rf { -- 2.3.2
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 16074
: 6695