Skip to content

Commit

Permalink
Fix repositories which do not contain archive files
Browse files Browse the repository at this point in the history
This should fix ocaml#226
  • Loading branch information
samoht committed Oct 8, 2012
1 parent 255d49f commit 578c460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/opamRepository.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 578c460

Please sign in to comment.