mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 16:45:29 +00:00
16 lines
346 B
Bash
Executable File
16 lines
346 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
if [ ! -d "$1/" ]; then
|
|
echo "a directory must be specified"
|
|
exit 1
|
|
fi
|
|
if [ "x$2" == "xtrue" ]; then
|
|
(cd $1; rm -f *-digest; escript ~/bin/riak-digest.escript)
|
|
fi
|
|
|
|
D1=`basename "$1"`
|
|
|
|
#generate our comparison graph
|
|
gnuplot -e "dir1=\"$1\"; outfilename=\"${D1}-report.png\";" priv/reporting/summarize2i.gpl
|