diff --git a/warp-packer/src/main.rs b/warp-packer/src/main.rs index d0124cb..2a52875 100644 --- a/warp-packer/src/main.rs +++ b/warp-packer/src/main.rs @@ -90,6 +90,7 @@ fn create_tgz(dir: &Path, out: &Path) -> io::Result<()> { let f = fs::File::create(out)?; let gz = GzEncoder::new(f, Compression::best()); let mut tar = tar::Builder::new(gz); + tar.follow_symlinks(false); tar.append_dir_all(".", dir)?; Ok(()) }