From cbb040fddeff6d2de9d4bc7e58a1fdfc33292cd3 Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes <jon.w.wilkes@gmail.com> Date: Tue, 14 Jun 2016 16:49:54 -0400 Subject: [PATCH] port 71b75eb51c6ca01b65c367f650fff2d81d9d17b9 from Pd-l2ork: better updating mechanism --- l2ork_addons/tar_em_up.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/l2ork_addons/tar_em_up.sh b/l2ork_addons/tar_em_up.sh index 35ea15da3..225682764 100755 --- a/l2ork_addons/tar_em_up.sh +++ b/l2ork_addons/tar_em_up.sh @@ -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 -- GitLab