[Groonga-commit] droonga/droonga-engine at 749b1f9 [master] Use defined NAME instead of literal "express-droonga"

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Sep 12 20:25:32 JST 2014


YUKI Hiroshi	2014-09-12 20:25:32 +0900 (Fri, 12 Sep 2014)

  New Revision: 749b1f98ac54c297b7b6d7abf1bc97a38fff4d9f
  https://github.com/droonga/droonga-engine/commit/749b1f98ac54c297b7b6d7abf1bc97a38fff4d9f

  Message:
    Use defined NAME instead of literal "express-droonga"

  Modified files:
    install.sh

  Modified: install.sh (+5 -5)
===================================================================
--- install.sh    2014-09-12 20:11:45 +0900 (43c4ea6)
+++ install.sh    2014-09-12 20:25:32 +0900 (f1c084a)
@@ -60,7 +60,7 @@ install_rroonga() {
   # doesn't work as we expect for Droonga...
   if exist_command grndump; then
     current_version=$(grndump -v | cut -d " " -f 2)
-    version_matcher=$(cat droonga-engine.gemspec | \
+    version_matcher=$(cat $NAME.gemspec | \
                       grep rroonga | \
                       cut -d "," -f 2 | \
                       cut -d '"' -f 2)
@@ -110,11 +110,11 @@ install_in_debian() {
   apt-get -y upgrade
   apt-get install -y ruby ruby-dev build-essential
   if [ "$INSTALL_VERSION" = "master" ]; then
-    echo "Installing droonga-engine from the git repository..."
+    echo "Installing $NAME from the git repository..."
     apt-get install -y git
     install_master
   else
-    echo "Installing droonga-engine from RubyGems..."
+    echo "Installing $NAME from RubyGems..."
     gem install droonga-engine --no-rdoc --no-ri
   fi
 
@@ -132,11 +132,11 @@ install_in_centos() {
   yum -y groupinstall development
   yum -y install ruby-devel
   if [ "$INSTALL_VERSION" = "master" ]; then
-    echo "Installing droonga-engine from the git repository..."
+    echo "Installing $NAME from the git repository..."
     yum -y install git
     install_master
   else
-    echo "Installing droonga-engine from RubyGems..."
+    echo "Installing $NAME from RubyGems..."
     gem install droonga-engine --no-rdoc --no-ri
   fi
 
-------------- next part --------------
HTML����������������������������...
Download 



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