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, 2 insertions, 2 deletions
diff --git a/create_db.sh b/create_db.sh
index d3efb27b1b14..857cfe9d7d09 100755
--- a/create_db.sh
+++ b/create_db.sh
@@ -1,10 +1,10 @@
#!/bin/sh
CMD=$(cat <<EOF
-:ok = :mnesia.create_schema([node])
+:ok = :mnesia.create_schema([node()])
:ok = :mnesia.start()
{:atomic, :ok} = :mnesia.create_table(ContentLength, [attributes: [:path, :content_length],
- disc_copies: [node]])
+ disc_copies: [node()]])
EOF
)
ELIXIR_ERL_OPTIONS="-sname cpcache -mnesia dir '/var/cache/cpcache/mnesia'" /usr/bin/elixir -e "$CMD"