fix system report utility for linux

This commit is contained in:
Tom Reynolds 2013-02-25 21:20:09 +00:00
parent 61e75417a5
commit ea458a7cf1
1 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@
#
LANG=C
VERSION='0.3.2'
VERSION='0.3.3'
MYNAME=`basename $0`
DEFAULT_REPORT_FILENAME=system_report.log
@ -378,8 +378,8 @@ then # not available in search path
echo 'WARNING: "glxinfo" utility is not available.' >&2
echo ' Consider installing it to provide more useful information on your system.' >&2
echo '' >&2
echo '>>> SKIPPED: glxinfo | grep -E '^(name|display|server|client|GLX|OpenGL)' >> $REPORT_LOCATION
else # it's available
echo '>>> SKIPPED: glxinfo | grep -E '"'"'^(name|display|server|client|GLX|OpenGL)'"'" >> $REPORT_LOCATION
else
echo ">>> glxinfo | grep -E '^(name|display|server|client|GLX|OpenGL)'" >> $REPORT_LOCATION
glxinfo | grep -E '^(name|display|server|client|GLX|OpenGL)' >> $REPORT_LOCATION 2>&1
fi