Skip to content

Commit

Permalink
Add NO_BUILD option.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/LORENE/trunk@42 5c1b1641-b641-47ec-b3d9-0f93d4c445ee
  • Loading branch information
bmundim committed Mar 28, 2013
1 parent 729962a commit 8d0e8ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ set -e # Abort on errors
# Search
################################################################################

if [ -z "${LORENE_DIR}" ]; then
if [ -z "${LORENE_DIR}" \
-o "$(echo "${LORENE_DIR}" | tr '[a-z]' '[A-Z]')" = 'NO_BUILD' ]
then
echo "BEGIN MESSAGE"
echo "LORENE selected, but LORENE_DIR not set."
echo "END MESSAGE"
Expand Down

0 comments on commit 8d0e8ea

Please sign in to comment.