5 REPO_DIR
=/home
/repo
/repo
6 LOCK_FILE
=/tmp
/webupdate
/lock
10 # Make sure we don't run twice.
11 if [ -s ${LOCK_FILE} ] && kill -0 $
(cat ${LOCK_FILE}); then
12 echo "Already running (stuck?) with pid $(cat ${LOCK_FILE})" >&2
19 if [ -z "`git rev-list $BRANCH..$REMOTE/$BRANCH`" ]; then
20 git merge
$REMOTE/$BRANCH && make install