Source

riak-old / scripts / make_appfile.sh

Full commit
1
2
3
4
5
6
7
8
#!/bin/bash
prefix=""
modules=$(
    for f in $(ls src/*.erl); do 
        echo -n "$prefix'$(basename $f .erl)'"
        prefix=", "
    done)
sed "s/__MODULES__/$modules/g" <src/riak.app.src