]> granicus.if.org Git - postgis/commitdiff
Fix astyle availability detection
authorSandro Santilli <strk@keybit.net>
Tue, 30 Jun 2015 13:48:27 +0000 (13:48 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 30 Jun 2015 13:48:27 +0000 (13:48 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13759 b70326c6-7e19-0410-871a-916f4a2858ee

astyle.sh

index 333dde8a48156b6943c261d3efb84eb58bf4d6b2..fa44b0d6ec518b8cbabe9dd1f044cdbd069b2241 100755 (executable)
--- 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."