[Pkg-libvirt-commits] [libguestfs] 57/66: v2v: windows: Set filename correctly when uploading virtio drivers (RHBZ#1145916).
Hilko Bengen
bengen at moszumanska.debian.org
Fri Oct 3 14:47:57 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag debian/1%1.27.54-1
in repository libguestfs.
commit 97b96af54c5fc47bca2ea8f87d179a8b4d9e5242
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Wed Sep 24 17:27:18 2014 +0100
v2v: windows: Set filename correctly when uploading virtio drivers (RHBZ#1145916).
Thanks: Jeff Forbes, Alain Vondra, Junqin Zhou
---
v2v/convert_windows.ml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/v2v/convert_windows.ml b/v2v/convert_windows.ml
index 1b9fa4f..52016a2 100644
--- a/v2v/convert_windows.ml
+++ b/v2v/convert_windows.ml
@@ -290,8 +290,10 @@ echo uninstalling Xen PV driver
*)
let files = Sys.readdir path in
let files = Array.to_list files in
- let files = List.map ((//) path) files in
- List.iter (fun file -> g#upload file driverdir) files;
+ List.iter (
+ fun file ->
+ g#upload (path // file) (driverdir // file)
+ ) files;
(block, net)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list