[Reproducible-commits] [misc] 01/01: diffp: fix a bug in multiple compression format support
Jérémy Bobbio
lunar at moszumanska.debian.org
Sat Sep 20 07:13:16 UTC 2014
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository misc.
commit 99cd014fc68ba356d11df9a7a1de8abc89feb001
Author: Jérémy Bobbio <lunar at debian.org>
Date: Sat Sep 20 09:12:57 2014 +0200
diffp: fix a bug in multiple compression format support
---
diffp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/diffp b/diffp
index 1b38dbc..1b65788 100755
--- a/diffp
+++ b/diffp
@@ -114,8 +114,8 @@ paste <(dcmd "$CHANGES_A" | sort | grep '\.deb$') <(dcmd "$CHANGES_B" | sort | g
TMP_A=$(mktemp)
TMP_B=$(mktemp)
- ar p $PACKAGE_A $DATA_TAR | tar -${DATA_TAR}xOf - $file > "$TMP_A"
- ar p $PACKAGE_B $DATA_TAR | tar -${DATA_TAR}xOf - $file > "$TMP_B"
+ ar p $PACKAGE_A $DATA_TAR | $DATA_COMPR | tar -xOf - $file > "$TMP_A"
+ ar p $PACKAGE_B $DATA_TAR | $DATA_COMPR | tar -xOf - $file > "$TMP_B"
echo "$OPS" | while read op; do
diff -u0 <(echo "$op" | sed -e "s,FILE,$TMP_A," | sh | sed -e "s,$TMP_A,$file,g") \
<(echo "$op" | sed -e "s,FILE,$TMP_B," | sh | sed -e "s,$TMP_B,$file,g") | trim_diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git
More information about the Reproducible-commits
mailing list