comparison admin/diff-tar-files @ 88155:d7ddb3e565de

sync with trunk
author Henrik Enberg <henrik.enberg@telia.com>
date Mon, 16 Jan 2006 00:03:54 +0000
parents c296bfdefcc3
children
comparison
equal deleted inserted replaced
88154:8ce476d3ba36 88155:d7ddb3e565de
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details. 15 # GNU General Public License for more details.
16 # 16 #
17 # You should have received a copy of the GNU General Public License 17 # You should have received a copy of the GNU General Public License
18 # along with GNU Emacs; see the file COPYING. If not, write to the 18 # along with GNU Emacs; see the file COPYING. If not, write to the
19 # Free Software Foundation, Inc., 59 Temple Place - Suite 330, 19 # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 # Boston, MA 02111-1307, USA. 20 # Boston, MA 02110-1301, USA.
21 21
22 if [ $# != 2 ]; then 22 if [ $# != 2 ]; then
23 cat <<EOF 23 cat <<EOF
24 Usage: $0 OLD-TAR NEW-TAR 24 Usage: $0 OLD-TAR NEW-TAR
25 25
40 tar tzf $new_tar | sed -e 's,^[^/]*,,' | sort > $new_tmp 40 tar tzf $new_tar | sed -e 's,^[^/]*,,' | sort > $new_tmp
41 diff -u $old_tmp $new_tmp 41 diff -u $old_tmp $new_tmp
42 rm -f $new_tmp $old_tmp 42 rm -f $new_tmp $old_tmp
43 43
44 44
45 # arch-tag: ef2c96e2-ea67-4668-925c-d9a6f3d205cf