Commit fa2396bd authored by Sebastian Dröge's avatar Sebastian Dröge

Use git log instead of git-log as the latter doesn't exist anymore in newer git versions

parent 5fcfed17
......@@ -33,10 +33,10 @@ do
git submodule init
git submodule update
cd $dir/$module/common
ref_from=`git-log --pretty=format:%h -n 1 HEAD`
ref_from=`git log --pretty=format:%h -n 1 HEAD`
git checkout master
git pull origin
ref_to=`git-log --pretty=format:%h -n 1 HEAD`
ref_to=`git log --pretty=format:%h -n 1 HEAD`
echo updating common from $ref_from to $ref_to
if [ "$ref_from" != "$ref_to" ] ; then
cd $dir/$module
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment