[Groonga-mysql-commit] mroonga/nightly-package-builder at 8d586ac [master] Support submodule

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jun 9 10:20:29 JST 2014


Kouhei Sutou	2014-06-09 10:20:29 +0900 (Mon, 09 Jun 2014)

  New Revision: 8d586ac5389b7b21b677b7c4dbb1dd2333ab2130
  https://github.com/mroonga/nightly-package-builder/commit/8d586ac5389b7b21b677b7c4dbb1dd2333ab2130

  Message:
    Support submodule

  Modified files:
    create-snapshot-package.sh

  Modified: create-snapshot-package.sh (+2 -1)
===================================================================
--- create-snapshot-package.sh    2014-06-06 12:51:27 +0900 (3f41a0f)
+++ create-snapshot-package.sh    2014-06-09 10:20:29 +0900 (7ddf449)
@@ -44,7 +44,7 @@ create_nightly_build() {
   need_install=$1; shift
   cd ~/work
   if [ ! -d ${project_name} ]; then
-    git clone --quiet https://github.com/${github_org}/${project_name}.git
+    git clone --quiet --recursive https://github.com/${github_org}/${project_name}.git
     cd ${project_name}
     ./autogen.sh > /dev/null
     cd -
@@ -52,6 +52,7 @@ create_nightly_build() {
     cd ${project_name}
     git checkout --quiet .
     git pull --quiet --rebase
+    git submodule update --init
     ./autogen.sh > /dev/null
     cd -
   fi
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index