]> git.eshelyaron.com Git - emacs.git/commitdiff
* admin/diff-tar-files: Don't assume .tar.gz.
authorStefan Kangas <stefan@marxist.se>
Thu, 2 Dec 2021 22:51:35 +0000 (23:51 +0100)
committerStefan Kangas <stefan@marxist.se>
Thu, 2 Dec 2021 22:54:01 +0000 (23:54 +0100)
admin/diff-tar-files

index cdcc512ae6bad38f757d1f24cd19817a850bcd12..2fe15401d0d2be9c041104b2cc0b41724fcf60f5 100755 (executable)
@@ -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 tzf "$old_tar" | sed -e 's,^[^/]*,,' | sort > $old_tmp
-tar tzf "$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