X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fauxiliar%2Fbuild-profile.sh;h=b6c2bc77f614cb9f4e305b4e7ce8d8c44b929a50;hb=46eb67a07e39cf052e5712f2fc5eb90fd7124c74;hp=072cf64520c2fab1640a4e10502f833651bd370e;hpb=a9d9433bc7b95cb2d4b3d96eefce7a8437c0d44e;p=lilypond.git diff --git a/scripts/auxiliar/build-profile.sh b/scripts/auxiliar/build-profile.sh index 072cf64520..b6c2bc77f6 100755 --- a/scripts/auxiliar/build-profile.sh +++ b/scripts/auxiliar/build-profile.sh @@ -1,6 +1,6 @@ #!/bin/sh -if test "$1" == "--fresh"; then +if test "$1" = "--fresh"; then fresh=yes fi @@ -31,11 +31,11 @@ cd $resultdir cat > long-score.ly << EOF \version "2.10.0" -foo = \new Staff \new Voice \repeat unfold 50 \relative { c4 d8[ d16( e]~ e16[ e e) f] g8 } -\score { - \new ChoirStaff << - \foo \foo \foo \foo - \foo \foo \foo \foo +foo = \new Staff \new Voice \repeat unfold 50 \relative c' { c4 d8[ d16( e]~ e16[ e e) f] g8 } +\score { + \new ChoirStaff << + \foo \foo \foo \foo + \foo \foo \foo \foo >> \midi {} @@ -62,7 +62,7 @@ for a in *.profile; do cat $a done -echo 'running gprof' +echo 'running gprof' gprof $exe > profile exit 0 @@ -75,7 +75,7 @@ for a in seq 1 3; do -I $depth/input/mutopia/W.A.Mozart/ \ $f - echo 'running gprof' + echo 'running gprof' if test -f gmon.sum ; then gprof -s $exe gmon.out gmon.sum else