mirror of https://github.com/gorhill/uBlock.git
Fix update-submodules script
This commit is contained in:
parent
68b15ed5d8
commit
8e296dd671
|
@ -7,7 +7,7 @@ set -e
|
||||||
echo "*** Update submodules"
|
echo "*** Update submodules"
|
||||||
|
|
||||||
git submodule update --remote
|
git submodule update --remote
|
||||||
if [ `git diff --quiet ./submodules/` ]; then
|
if [[ $(git diff ./submodules/) ]]; then
|
||||||
git add -u submodules/
|
git add -u submodules/
|
||||||
git commit -m 'Update submodules'
|
git commit -m 'Update submodules'
|
||||||
git push origin master
|
git push origin master
|
||||||
|
|
Loading…
Reference in New Issue