[Groonga-commit] droonga/droonga-engine at 6fd4363 [master] Clone or pull repository correctly

Zurück zum Archiv-Index

YUKI Hiroshi null+****@clear*****
Thu Sep 4 18:58:24 JST 2014


YUKI Hiroshi	2014-09-04 18:58:24 +0900 (Thu, 04 Sep 2014)

  New Revision: 6fd436351c46b9acc2cf6d176d0fc3fe19934de4
  https://github.com/droonga/droonga-engine/commit/6fd436351c46b9acc2cf6d176d0fc3fe19934de4

  Message:
    Clone or pull repository correctly

  Modified files:
    script/install-master.sh

  Modified: script/install-master.sh (+6 -3)
===================================================================
--- script/install-master.sh    2014-09-04 18:54:03 +0900 (f813347)
+++ script/install-master.sh    2014-09-04 18:58:24 +0900 (2b09f0c)
@@ -37,12 +37,15 @@ install_master() {
   gem install bundler rroonga --no-ri --no-rdoc
   if [ -d droonga-engine ]
   then
-    git clone https://github.com/droonga/droonga-engine.git
     cd droonga-engine
-    bundle install
+    git stash save
+    git pull --rebase
+    git stash pop
+    bundle update
   else
+    git clone https://github.com/droonga/droonga-engine.git
     cd droonga-engine
-    bundle update
+    bundle install
   fi
   bundle exec rake build
   gem install "pkg/*.gem" --no-ri --no-rdoc
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index