From b65e65f5821659312ff830f693f18cfef38e9938 Mon Sep 17 00:00:00 2001 From: Jim Wise Date: Thu, 9 Jun 2011 08:56:47 -0400 Subject: [PATCH] Fix thinko in one of the Solaris-compat changes in last commit. --- generate-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate-version.sh b/generate-version.sh index 22ed0a4..7bff065 100755 --- a/generate-version.sh +++ b/generate-version.sh @@ -2,7 +2,7 @@ # Not a shell script, but something intended to be sourced from shell scripts git_available_p() { # Check that (1) we have git (2) this is a git tree. - if `which git >/dev/null 2>/dev/null && git describe >/dev/null 2>/dev/null` + if ( which git >/dev/null 2>/dev/null && git describe >/dev/null 2>/dev/null ) then # Check that some of the newer git versions we use are supported. if [ "0" != `git rev-list HEAD --not HEAD --count 2> /dev/null` ] -- 1.7.10.4