[Groonga-commit] droonga/droonga-engine at de7dd4a [master] Remove needless "INSTALL_" prefix.

Back to archive index

YUKI Piro Hiroshi null+****@clear*****
Sat Sep 13 13:46:10 JST 2014


YUKI "Piro" Hiroshi	2014-09-13 13:46:10 +0900 (Sat, 13 Sep 2014)

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

  Message:
    Remove needless "INSTALL_" prefix.
    
    Because this is "install".sh.
    See: https://github.com/droonga/droonga.org/issues/17#issuecomment-55396226

  Modified files:
    install.sh

  Modified: install.sh (+4 -4)
===================================================================
--- install.sh    2014-09-12 20:25:32 +0900 (f1c084a)
+++ install.sh    2014-09-13 13:46:10 +0900 (a3f0e8e)
@@ -25,8 +25,8 @@ REPOSITORY_URL=https://github.com/droonga/$NAME.git
 USER=$NAME
 DROONGA_BASE_DIR=/home/$USER/droonga
 
-if [ "$INSTALL_VERSION" = "" ]; then
-  export INSTALL_VERSION=release
+if [ "$VERSION" = "" ]; then
+  export VERSION=release
 fi
 
 exist_command() {
@@ -109,7 +109,7 @@ install_in_debian() {
   apt-get update
   apt-get -y upgrade
   apt-get install -y ruby ruby-dev build-essential
-  if [ "$INSTALL_VERSION" = "master" ]; then
+  if [ "$VERSION" = "master" ]; then
     echo "Installing $NAME from the git repository..."
     apt-get install -y git
     install_master
@@ -131,7 +131,7 @@ install_in_centos() {
   yum update
   yum -y groupinstall development
   yum -y install ruby-devel
-  if [ "$INSTALL_VERSION" = "master" ]; then
+  if [ "$VERSION" = "master" ]; then
     echo "Installing $NAME from the git repository..."
     yum -y install git
     install_master
-------------- next part --------------
HTML����������������������������...
Download 



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