#!/bin/bash

source ~/.gamerc

cd "$LOCAL_PATCH_DIR"

rm -rf a b

A="$(ls -tr servers-*|tail -2|head -1)"
B="$(ls -tr servers-*|tail -1)"

mkdir a b

tar zxf $A -C a
tar zxf $B -C b

diff -p -u -r a b 2>&1|egrep "^Binary files .+ and .+ differ$|^--- "|sed 's/ a\// /g;s/^Binary //g'|awk '{print $2}'
