Skip to content

Commit b264657

Browse files
authored
Merge pull request #217 from EliahKagan/filter
Also `grep -v` out `.cargo_vcs_info.json` in `cargo-zng`
2 parents d39c1c5 + c649e45 commit b264657

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cargo-zng

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tempdir="$(mktemp -d)"
44
trap 'rm -rf "$tempdir"' 0 INT
55
cargo package -l --allow-dirty |
66
tr '\\' '/' |
7-
grep -v '^Cargo\.toml\.orig$' |
7+
grep -vxF -e Cargo.toml.orig -e .cargo_vcs_info.json |
88
tar --files-from=- -cf - |
99
tar -C "$tempdir" -xf -
1010
cp Cargo-zng.toml "$tempdir/Cargo.toml"

0 commit comments

Comments
 (0)