aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhinder <hinder@4054007a-4839-4648-a056-eb81e030d849>2012-02-08 15:08:47 +0000
committerhinder <hinder@4054007a-4839-4648-a056-eb81e030d849>2012-02-08 15:08:47 +0000
commit0c411411722a7c05c2305e69e6b7be216ae86822 (patch)
treeff94b3d0649b8ab9eda94f3ad9b5f8b8f9deb328
parent40613aef915ec44833ee985192ee5a6ec60339a4 (diff)
OpenCL.sh: Exit with a nonzero error code if OpenCL is not found
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/OpenCL/trunk@6 4054007a-4839-4648-a056-eb81e030d849
-rw-r--r--OpenCL.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenCL.sh b/OpenCL.sh
index 03fb1ef..86f564b 100644
--- a/OpenCL.sh
+++ b/OpenCL.sh
@@ -24,6 +24,7 @@ if [ -z "${OPENCL_DIR}" ]; then
echo "BEGIN ERROR"
echo "OpenCL selected, but OPENCL_DIR not set."
echo "END ERROR"
+ exit 1
fi
fi