From 801228ae08d3d3c0bb8e2a0022fa21bf5abfd29d Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 23 Jul 2023 11:35:28 +0200 Subject: [PATCH] `cargo-zng` now works on MacOS The `--verbatim-files-from` options doesn't seem to be needed as they are 'plain' enough. --- cargo-zng | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cargo-zng b/cargo-zng index 3e239625..a482089c 100755 --- a/cargo-zng +++ b/cargo-zng @@ -2,7 +2,7 @@ set -eu trap 'rm -rf "$tempdir"' 0 INT tempdir="$(mktemp -d)" -cargo package -l --allow-dirty | grep -v '^Cargo\.toml\.orig$' | tar --verbatim-files-from --files-from=- -cf - | tar -C "$tempdir" -xf - +cargo package -l --allow-dirty | grep -v '^Cargo\.toml\.orig$' | tar --files-from=- -cf - | tar -C "$tempdir" -xf - cp Cargo-zng.toml "$tempdir/Cargo.toml" cp -a systest "$tempdir/systest" mv "$tempdir/systest/Cargo-zng.toml" "$tempdir/systest/Cargo.toml"