#!/bin/sh -x


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

cd $TASKSEL
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 "$TASKSEL" | xargs chmod g+w >/dev/null 2>&1

