summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornroi2017-01-29 18:54:58 +0100
committernroi2017-01-29 18:54:58 +0100
commit5392c5ab87d0c1d98ede201da70fe0c3c72debc7 (patch)
tree42d31e814715b43964d21265b78fc38fa12f1a8c
parent1bd11d2f78d22d5d73647298e3c716dc235ad428 (diff)
downloadaur-5392c5ab87d0c1d98ede201da70fe0c3c72debc7.tar.gz
Clear warnings
-rwxr-xr-xcreate_db.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/create_db.sh b/create_db.sh
index d3efb27b1b1..857cfe9d7d0 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"