From: Joel Rosdahl Date: Wed, 28 Apr 2010 06:53:04 +0000 (+0200) Subject: Optionally take number of files to compile in perf.sh X-Git-Tag: v3.0pre1~44 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=ddc73017566ada719cf584cc1c78385cbae69cec;p=thirdparty%2Fccache.git Optionally take number of files to compile in perf.sh --- diff --git a/perf.sh b/perf.sh index fdc2904cb..a1d4b8901 100755 --- a/perf.sh +++ b/perf.sh @@ -73,7 +73,11 @@ rm -rf $tmpdir mkdir $tmpdir cd $tmpdir -n=30 +if [ "$#" -gt 0 ]; then + n=$1 +else + n=30 +fi create_src $n echo "Without ccache:"