gentoo-overlay/dev-db/riak/files/2.2.3-fix-directories.patch

40 lines
1.3 KiB
Diff
Raw Normal View History

--- a/rel/vars.config 2013-08-04 06:44:05.000000000 +0000
+++ b/rel/vars.config 2013-08-19 14:22:26.463290231 +0000
@@ -2,11 +2,11 @@
%% ex: ft=erlang ts=4 sw=4 et
%% Platform-specific installation paths
-{platform_bin_dir, "./bin"}.
-{platform_data_dir, "./data"}.
-{platform_etc_dir, "./etc"}.
-{platform_lib_dir, "./lib"}.
-{platform_log_dir, "./log"}.
+{platform_bin_dir, "/usr/bin"}.
+{platform_data_dir, "/var/lib/riak"}.
+{platform_etc_dir, "/etc/riak"}.
+{platform_lib_dir, "/usr/lib/riak"}.
+{platform_log_dir, "/var/log/riak"}.
%%
%% etc/app.config
@@ -47,12 +47,12 @@
%%
%% bin/riak
%%
-{runner_script_dir, "\`cd \\`dirname $0\\` && /bin/pwd\`"}.
-{runner_base_dir, "{{runner_script_dir}}/.."}.
-{runner_etc_dir, "$RUNNER_BASE_DIR/etc"}.
-{runner_log_dir, "$RUNNER_BASE_DIR/log"}.
-{runner_lib_dir, "$RUNNER_BASE_DIR/lib"}.
-{runner_patch_dir, "$RUNNER_BASE_DIR/lib/basho-patches"}.
-{pipe_dir, "/tmp/$RUNNER_BASE_DIR/"}.
+{runner_script_dir, "/usr/bin"}.
+{runner_base_dir, "{{platform_lib_dir}}"}.
+{runner_etc_dir, "{{platform_etc_dir}}"}.
+{runner_log_dir, "{{platform_log_dir}}"}.
+{runner_lib_dir, "{{platform_lib_dir}}"}.
+{runner_patch_dir, "{{platform_lib_dir}}/lib/basho-patches"}.
+{pipe_dir, "/tmp/riak"}.
{runner_user, ""}.
{runner_wait_process, "riak_core_node_watcher"}.