[Groonga-commit] groonga/groonga at fe3e1c1 [master] Fix indent

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Feb 5 14:52:56 JST 2015


Kouhei Sutou	2015-02-05 14:52:56 +0900 (Thu, 05 Feb 2015)

  New Revision: fe3e1c18826aae8754f27038aa05af9375e4b5e4
  https://github.com/groonga/groonga/commit/fe3e1c18826aae8754f27038aa05af9375e4b5e4

  Message:
    Fix indent

  Modified files:
    lib/plugin.c
    plugins/CMakeLists.txt
    plugins/Makefile.am

  Modified: lib/plugin.c (+2 -2)
===================================================================
--- lib/plugin.c    2015-02-05 14:49:24 +0900 (77d0d10)
+++ lib/plugin.c    2015-02-05 14:52:56 +0900 (185e48a)
@@ -513,8 +513,8 @@ grn_plugin_find_path_raw(grn_ctx *ctx, const char *path)
   }
 
   if (!S_ISREG(path_stat.st_mode)) {
-     return NULL;
-   }
+    return NULL;
+  }
 
   return GRN_STRDUP(path);
 }

  Modified: plugins/CMakeLists.txt (+6 -0)
===================================================================
--- plugins/CMakeLists.txt    2015-02-05 14:49:24 +0900 (a4d84f9)
+++ plugins/CMakeLists.txt    2015-02-05 14:52:56 +0900 (89a28f5)
@@ -20,3 +20,9 @@ add_subdirectory(query_expanders)
 add_subdirectory(ruby)
 add_subdirectory(token_filters)
 add_subdirectory(sharding)
+
+if(GRN_WITH_MRUBY)
+  read_file_list(${CMAKE_CURRENT_SOURCE_DIR}/ruby_scripts.am RUBY_SCRIPTS)
+  install(FILES ${RUBY_SCRIPTS}
+    DESTINATION "${GRN_RELATIVE_PLUGINS_DIR}")
+endif()

  Modified: plugins/Makefile.am (+7 -0)
===================================================================
--- plugins/Makefile.am    2015-02-05 14:49:24 +0900 (4ffdbf7)
+++ plugins/Makefile.am    2015-02-05 14:52:56 +0900 (2082d57)
@@ -9,3 +9,10 @@ SUBDIRS =					\
 
 EXTRA_DIST =					\
 	CMakeLists.txt
+
+if WITH_MRUBY
+dist_plugins_DATA =				\
+	$(ruby_scripts)
+endif
+
+include ruby_sources.am
-------------- next part --------------
HTML����������������������������...
Download 



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