#!/bin/sh -x


. `dirname "$0"`/cfg/common
. `dirname "$0"`/cfg/`basename "$0"`

cd $ISOCODES
git fetch
git pull 2>&1 | grep -v "up-to-date"
git rebase origin/master 2>&1 | \
	    grep -v "up to date"

##echo "Updating file permissions..."
find "$ISOCODES" | xargs chmod g+w >/dev/null 2>&1

