Changeset View
Changeset View
Standalone View
Standalone View
databases/neo4j/files/patch-bin_neo4j
- This file was added.
--- bin/neo4j.orig 2017-07-04 01:59:39 UTC | |||||
+++ bin/neo4j | |||||
@@ -1,4 +1,4 @@ | |||||
-#!/usr/bin/env bash | |||||
+#!/usr/local/bin/bash | |||||
# Copyright (c) 2002-2016 "Neo Technology," | |||||
# Network Engine for Objects in Lund AB [http://neotechnology.com] | |||||
# | |||||
@@ -162,9 +162,9 @@ _show_java_help() { | |||||
_setup_calculated_paths() { | |||||
if [[ -z "${NEO4J_HOME:-}" ]]; then | |||||
- NEO4J_HOME="$(cd "$(dirname "$0")"/.. && pwd)" | |||||
+ NEO4J_HOME="$(cd "$(dirname "$0")"/../neo4j && pwd)" | |||||
fi | |||||
- : "${NEO4J_CONF:="${NEO4J_HOME}/conf"}" | |||||
+ : "${NEO4J_CONF:="${NEO4J_HOME}/../etc"}" | |||||
readonly NEO4J_HOME NEO4J_CONF | |||||
} | |||||