6 lines
142 B
Bash
6 lines
142 B
Bash
#!/bin/bash
|
|
|
|
shift # get rid of the '-c' supplied by make.
|
|
log=/tmp/make-cmds.log
|
|
/usr/bin/time --format "%E $*" -ao $log /bin/bash -c "$*"
|
|
|