[Groonga-commit] droonga/droonga-engine at 795925f [master] Use service's name for repository name

Zurück zum Archiv-Index

YUKI Piro Hiroshi null+****@clear*****
Sun Sep 7 23:47:45 JST 2014


YUKI "Piro" Hiroshi	2014-09-07 23:47:45 +0900 (Sun, 07 Sep 2014)

  New Revision: 795925f348f9c631b1fed35ca84333f7f009e529
  https://github.com/droonga/droonga-engine/commit/795925f348f9c631b1fed35ca84333f7f009e529

  Message:
    Use service's name for repository name

  Modified files:
    script/install-master.sh

  Modified: script/install-master.sh (+5 -4)
===================================================================
--- script/install-master.sh    2014-09-07 23:46:27 +0900 (c590ac3)
+++ script/install-master.sh    2014-09-07 23:47:45 +0900 (1d92b92)
@@ -15,6 +15,7 @@
 
 NAME=droonga-engine
 SCRIPT_URL=https://raw.githubusercontent.com/droonga/$NAME/master/script
+REPOSITORY_URL=https://github.com/droonga/$NAME.git
 USER=$NAME
 DROONGA_BASE_DIR=/home/$USER/droonga
 
@@ -42,16 +43,16 @@ setup_configuration_directory() {
 
 install_master() {
   gem install bundler rroonga --no-ri --no-rdoc
-  if [ -d droonga-engine ]
+  if [ -d $NAME ]
   then
-    cd droonga-engine
+    cd $NAME
     git stash save
     git pull --rebase
     git stash pop
     bundle update
   else
-    git clone https://github.com/droonga/droonga-engine.git
-    cd droonga-engine
+    git clone $REPOSITORY_URL
+    cd $NAME
     bundle install
   fi
   bundle exec rake build
-------------- next part --------------
HTML����������������������������...
Download 



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