Commit c7a89531 authored by Jeremy Soller's avatar Jeremy Soller Committed by GitHub

Merge pull request #16 from ids1024/symlink

Do not follow symlinks when creating package
parents bf8cc11d 009823fc
......@@ -129,6 +129,7 @@ impl Repo {
let encoder = Encoder::new(file)?;
let mut tar = tar::Builder::new(encoder);
tar.follow_symlinks(false);
tar.append_dir_all("", package)?;
let encoder = tar.into_inner()?;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment