[pipepar] Avoid output when using "script"

Call script with -q to avoid any output
This commit is contained in:
Thomas Preud'homme 2012-09-04 20:02:58 +02:00
parent 73f99e761e
commit e4450d68c2
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ CFLAGS?=-Wall -Wextra
ifeq ($(shell perf --help 2>/dev/null >/dev/null && echo y),y)
runntimes = perf stat -r $(1) $(2)
runntimesandlog = script -a -c "$(runntimes)" $(3)
runntimesandlog = script -a -q -c "$(runntimes)" $(3)
else
# Run a command several times
# @param N Number of time to run the command