From: Sandro Santilli Date: Tue, 30 Jun 2015 13:48:27 +0000 (+0000) Subject: Fix astyle availability detection X-Git-Tag: 2.2.0rc1~279 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2902f5edc5f3c52a697d80dc1b89f462290ab737;p=postgis Fix astyle availability detection git-svn-id: http://svn.osgeo.org/postgis/trunk@13759 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/astyle.sh b/astyle.sh index 333dde8a4..fa44b0d6e 100755 --- a/astyle.sh +++ b/astyle.sh @@ -3,7 +3,7 @@ # Run astyle on the code base ready for release # If astyle doesn't exist, exit the script and do nothing -echo "FOO" | astyle > /dev/null +which astyle > /dev/null RET=$? if [ $RET -ne 0 ]; then echo "Could not find astyle - aborting."