From: Rudolf Polzer Date: Sat, 4 Jan 2014 18:45:34 +0000 (+0100) Subject: ./all: always output how long the program ran. Sometimes useful, and doesn't add... X-Git-Tag: xonotic-v0.8.0~53 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b3e57be3ffca09190ee36e615fb7398cd9c286af;p=xonotic%2Fxonotic.git ./all: always output how long the program ran. Sometimes useful, and doesn't add much more spam. --- diff --git a/misc/tools/all/xonotic.subr b/misc/tools/all/xonotic.subr index 19298c8a..8cfbd9c4 100644 --- a/misc/tools/all/xonotic.subr +++ b/misc/tools/all/xonotic.subr @@ -336,7 +336,7 @@ case "$cmd" in set -- rlwrap -A -g '^quit' -q "\"" -s 10000 -S ']' -w 100 "$@" fi rm -f xonotic.core - "$@" || true + time "$@" || true if [ -f xonotic.core ]; then if yesno "The program has CRASHED. Do you want to examine the core dump?"; then gdb "$binary" xonotic.core