summarylogtreecommitdiffstats
path: root/create_db.sh
diff options
context:
space:
mode:
Diffstat (limited to 'create_db.sh')
-rwxr-xr-xcreate_db.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/create_db.sh b/create_db.sh
index 863f58f64569..d3efb27b1b14 100755
--- a/create_db.sh
+++ b/create_db.sh
@@ -1,7 +1,5 @@
#!/bin/sh
-PREFIX="$1"
-
CMD=$(cat <<EOF
:ok = :mnesia.create_schema([node])
:ok = :mnesia.start()
@@ -9,4 +7,4 @@ CMD=$(cat <<EOF
disc_copies: [node]])
EOF
)
-ELIXIR_ERL_OPTIONS="-sname cpcache -mnesia dir '$PREFIX/var/cache/cpcache/mnesia'" /usr/bin/elixir -e "$CMD"
+ELIXIR_ERL_OPTIONS="-sname cpcache -mnesia dir '/var/cache/cpcache/mnesia'" /usr/bin/elixir -e "$CMD"