summaryrefslogtreecommitdiff
path: root/databases/neo4j/files/patch-bin_neo4j-admin
blob: 849a3609797f682dfa21c9beaa3482b3bfea6bf4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- bin/neo4j-admin.orig	2023-06-26 13:14:57 UTC
+++ bin/neo4j-admin
@@ -33,7 +33,7 @@ PRGDIR=`dirname "$PRG"`
 done
 
 PRGDIR=`dirname "$PRG"`
-BASEDIR=`cd "$PRGDIR/.." >/dev/null; pwd`
+BASEDIR=%%PREFIX%%/neo4j
 
 # Reset the REPO variable. If you need to influence this use the environment setup file.
 REPO=
@@ -125,4 +125,4 @@ exec "$JAVACMD" -Xmx128m \
   -Dapp.home="$BASEDIR" \
   -Dbasedir="$BASEDIR" \
   org.neo4j.server.startup.Neo4jAdminBoot \
-  "$@"
\ No newline at end of file
+  "$@"