diff --git a/cargo-zng b/cargo-zng index 8ff1193..4dd8ee3 100755 --- a/cargo-zng +++ b/cargo-zng @@ -4,7 +4,7 @@ tempdir="$(mktemp -d)" trap 'rm -rf "$tempdir"' 0 INT cargo package -l --allow-dirty | tr '\\' '/' | - grep -v '^Cargo\.toml\.orig$' | + grep -vxF -e Cargo.toml.orig -e .cargo_vcs_info.json | tar --files-from=- -cf - | tar -C "$tempdir" -xf - cp Cargo-zng.toml "$tempdir/Cargo.toml"