From 6e30fb8bcc3590b095fd9b9a28c54cad9073d8bc Mon Sep 17 00:00:00 2001 From: "Eric J. Korpela" Date: Thu, 16 Feb 2006 01:59:45 +0000 Subject: [PATCH] Fixed a bashism that is not legal in Bourne shell. svn path=/trunk/boinc/; revision=9480 --- _autosetup | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_autosetup b/_autosetup index 5cde8dbaa8..bed4811100 100755 --- a/_autosetup +++ b/_autosetup @@ -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