Fixed a bashism that is not legal in Bourne shell.

svn path=/trunk/boinc/; revision=9480
This commit is contained in:
Eric J. Korpela 2006-02-16 01:59:45 +00:00
parent 8c263b323c
commit 6e30fb8bcc
1 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,9 @@ check_version()
success=no
else
cmdline="$fullpath --version";
if ! version=`($cmdline 2>/dev/null)` 2>/dev/null; then
if version=`($cmdline 2>/dev/null)` 2>/dev/null; then
echo >/dev/null
else
version="0";
fi
if [ -n "${version}" ]; then