Fetch when source has changed
This commit is contained in:
parent
7486e872d7
commit
21429fa8fd
|
@ -17,5 +17,8 @@ for project in $BASEDIR/*.source; do
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
cd "$p_dir"
|
cd "$p_dir"
|
||||||
|
if ! git diff --quiet remotes/origin/HEAD; then
|
||||||
|
git pull
|
||||||
|
fi
|
||||||
GITBUILDDIR="$BASEDIR" eval "$BASEDIR/$p_name $p_name"
|
GITBUILDDIR="$BASEDIR" eval "$BASEDIR/$p_name $p_name"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue
Block a user