diff options
author | nroi | 2017-01-29 18:54:58 +0100 |
---|---|---|
committer | nroi | 2017-01-29 18:54:58 +0100 |
commit | 5392c5ab87d0c1d98ede201da70fe0c3c72debc7 (patch) | |
tree | 42d31e814715b43964d21265b78fc38fa12f1a8c /create_db.sh | |
parent | 1bd11d2f78d22d5d73647298e3c716dc235ad428 (diff) | |
download | aur-5392c5ab87d0c1d98ede201da70fe0c3c72debc7.tar.gz |
Clear warnings
Diffstat (limited to 'create_db.sh')
-rwxr-xr-x | create_db.sh | 4 |
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" |