Skip to content
Snippets Groups Projects
Commit cbb040fd authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

port 71b75eb51c6ca01b65c367f650fff2d81d9d17b9 from Pd-l2ork: better updating mechanism

parent 83511b66
No related branches found
No related tags found
No related merge requests found
......@@ -132,11 +132,12 @@ then
if [ -d .git ]; then
# check if Gem submodule is empty, and if so do first init
if [ "$(ls -A Gem)" ]; then
git submodule update
#git submodule update
git submodule foreach git pull origin master
else
# init all submodules (only necessary the first time)
git submodule init
git submodule update
#git submodule update
git submodule foreach git pull origin master
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment