projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a50ad1
)
* admin/diff-tar-files: Don't assume .tar.gz.
author
Stefan Kangas
<stefan@marxist.se>
Thu, 2 Dec 2021 22:51:35 +0000
(23:51 +0100)
committer
Stefan Kangas
<stefan@marxist.se>
Thu, 2 Dec 2021 22:54:01 +0000
(23:54 +0100)
admin/diff-tar-files
patch
|
blob
|
history
diff --git
a/admin/diff-tar-files
b/admin/diff-tar-files
index cdcc512ae6bad38f757d1f24cd19817a850bcd12..2fe15401d0d2be9c041104b2cc0b41724fcf60f5 100755
(executable)
--- a/
admin/diff-tar-files
+++ b/
admin/diff-tar-files
@@
-35,7
+35,7
@@
old_tmp=/tmp/old.$$
new_tmp=/tmp/new.$$
trap "rm -f $old_tmp $new_tmp; exit 1" 1 2 15
-tar t
z
f "$old_tar" | sed -e 's,^[^/]*,,' | sort > $old_tmp
-tar t
z
f "$new_tar" | sed -e 's,^[^/]*,,' | sort > $new_tmp
+tar tf "$old_tar" | sed -e 's,^[^/]*,,' | sort > $old_tmp
+tar tf "$new_tar" | sed -e 's,^[^/]*,,' | sort > $new_tmp
diff -u $old_tmp $new_tmp
rm -f $new_tmp $old_tmp