Permalink
Browse files

Do sync submodules before updating.

  • Loading branch information...
1 parent 5cea3f4 commit 631046d11b2013cbc692e819d1fd503d3dcbedaa Anand Chitipothu committed Jul 1, 2011
Showing with 4 additions and 19 deletions.
  1. +4 −19 setup.sh
View
@@ -2,25 +2,10 @@
root=`dirname $0`
-# run git submodule commands only when the working copy is a git repository
-# otherwise download tarballs of submodules
-if [ -d $root/.git ];
-then
- git submodule init
- git submodule update
-else
- function get_tarball() {
- user=$1
- project=$2
- tag=$3
- wget http://github.com/$user/$project/tarball/$tag -O $project.tgz
- tar xvzf $project.tgz
- rm -rf $project
- mv $user-$project-* $project
- }
- get_tarball infogami infogami master
- get_tarball internetarchive acs4_py master
-fi
+# udpate submodules
+git submodule sync
+git submodule init
+git submodule update
cd $root
./scripts/i18n-messages compile

0 comments on commit 631046d

Please sign in to comment.