3 revision_number
=`svn info | grep "Last Changed Rev:" | awk '{print $4}'`
4 author
=`svn info | grep "Last Changed Author:" | awk '{print $4}'`
5 changelog
=`svn -v log -l1`
7 if [ -z "$revision_number" ]; then
8 echo "Failed to fetch revision number from SVN!"
12 if [ -z "$author" ]; then
13 echo "Failed to fetch author from SVN!"
17 if [ -z "$changelog" ]; then
18 echo "Failed to fetch changelog from SVN!"
22 echo "Note: using database stored in your home directory... ~/moonlight-perf.db"
23 PERF_SHORT_NAME
="$revision_number" PERF_AUTHOR
="$author" PERF_CHANGE_LOG
="$changelog" PERF_DATABASE_FILE
="$HOME/moonlight-perf.db" make run-perf