tags 489674 + patch
thanks

Something that can be done (aside from depending on 'time') is check for the 
presence of the 'time' program and if not found, display an error message and 
exit 1.

Here's a patch that could do what I've mentioned.

--- xfstt-1.7/doc/examples/test.sh.old  2008-12-02 20:11:25.000000000 -0500
+++ xfstt-1.7/doc/examples/test.sh      2008-12-02 20:24:01.000000000 -0500
@@ -12,6 +12,7 @@
 make && echo Build done.
 
 sync
+which time >/dev/null 2>&1 || { echo "time is not installed." && exit 1; }
 time src/xfstt --once $fontencoding > lst &
 sleep 1
 

-- 
Regards,
Andres

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to