[Groonga-commit] groonga/groonga at 142e491 [master] Use 2 spaces indent

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Jan 23 11:48:35 JST 2016


Kouhei Sutou	2016-01-23 11:48:35 +0900 (Sat, 23 Jan 2016)

  New Revision: 142e491797986780c2d7b8724d5c85459c75d4e4
  https://github.com/groonga/groonga/commit/142e491797986780c2d7b8724d5c85459c75d4e4

  Message:
    Use 2 spaces indent

  Modified files:
    data/travis/setup.sh

  Modified: data/travis/setup.sh (+28 -28)
===================================================================
--- data/travis/setup.sh    2016-01-22 14:39:15 +0900 (a05e7db)
+++ data/travis/setup.sh    2016-01-23 11:48:35 +0900 (cfb1a1e)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# Copyright (C) 2013  Kouhei Sutou <kou �� clear-code.com>
+# Copyright (C) 2013-2016  Kouhei Sutou <kou �� clear-code.com>
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -19,37 +19,37 @@
 set -e
 
 if [ "$GROONGA_MASTER" = "yes" ]; then
-    sudo apt-get install -qq -y -V autotools-dev pkg-config libmecab-dev \
-	libmsgpack-dev libevent-dev
-    git clone --recursive --depth 1 --branch master https://github.com/groonga/groonga.git
-    cd groonga
-    ./autogen.sh
-    ./configure --prefix=/usr --localstatedir=/var --enable-debug
-    make -j$(grep '^processor' /proc/cpuinfo | wc -l) > /dev/null
-    sudo make install > /dev/null
-    cd ..
+  sudo apt-get install -qq -y -V autotools-dev pkg-config libmecab-dev \
+       libmsgpack-dev libevent-dev
+  git clone --recursive --depth 1 --branch master https://github.com/groonga/groonga.git
+  cd groonga
+  ./autogen.sh
+  ./configure --prefix=/usr --localstatedir=/var --enable-debug
+  make -j$(grep '^processor' /proc/cpuinfo | wc -l) > /dev/null
+  sudo make install > /dev/null
+  cd ..
 else
-    sudo apt-get purge libzmq3
+  sudo apt-get purge libzmq3
 
-    distribution=$(lsb_release --short --id | tr 'A-Z' 'a-z')
-    case $distribution in
-	debian)
-	    code_name=$(lsb_release --short --codename)
-	    component=main
-	    apt_url_base=http://packages.groonga.org
-	    cat <<EOF | sudo tee /etc/apt/sources.list.d/groonga.list
+  distribution=$(lsb_release --short --id | tr 'A-Z' 'a-z')
+  case $distribution in
+    debian)
+      code_name=$(lsb_release --short --codename)
+      component=main
+      apt_url_base=http://packages.groonga.org
+      cat <<EOF | sudo tee /etc/apt/sources.list.d/groonga.list
 deb ${apt_url_base}/${distribution}/ ${code_name} ${component}
 deb-src ${apt_url_base}/${distribution}/ ${code_name} ${component}
 EOF
-	    sudo apt-get update -qq
-	    sudo apt-get install -qq -y --allow-unauthenticated groonga-keyring
-	    ;;
-	ubuntu)
-	    sudo apt-get install -qq -y -V software-properties-common
-	    sudo add-apt-repository -y ppa:groonga/ppa
-	    ;;
-    esac
+      sudo apt-get update -qq
+      sudo apt-get install -qq -y --allow-unauthenticated groonga-keyring
+      ;;
+    ubuntu)
+      sudo apt-get install -qq -y -V software-properties-common
+      sudo add-apt-repository -y ppa:groonga/ppa
+      ;;
+  esac
 
-    sudo apt-get update -qq
-    sudo apt-get install -qq -y -V groonga libgroonga-dev
+  sudo apt-get update -qq
+  sudo apt-get install -qq -y -V groonga libgroonga-dev
 fi
-------------- next part --------------
HTML����������������������������...
Download 



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