mirror of https://github.com/BOINC/boinc.git
Fixed a bashism that is not legal in Bourne shell.
svn path=/trunk/boinc/; revision=9480
This commit is contained in:
parent
8c263b323c
commit
6e30fb8bcc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue