Skip to content
Browse files

Fix repositories which do not contain archive files

This should fix #226
  • Loading branch information...
1 parent 255d49f commit 578c460ff9d90dfff019c238ae95e71415773782 @samoht samoht committed Oct 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/opamRepository.ml
View
2 src/opamRepository.ml
@@ -184,7 +184,7 @@ let download_archive r nv =
(* Copy the file in local_repo in current dir *)
let copy_files local_repo nv =
- let local_dir = OpamPath.Repository.root local_repo in
+ let local_dir = OpamFilename.cwd () in
(* Eventually add the <package>/files/* to the extracted dir *)
log "Adding the files to the archive";
let files = OpamFilename.list_files (OpamPath.Repository.files local_repo nv) in

0 comments on commit 578c460

Please sign in to comment.
Something went wrong with that request. Please try again.