Skip to content

Commit

Permalink
report missing PATCH or TAR
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/LORENE/trunk@50 5c1b1641-b641-47ec-b3d9-0f93d4c445ee
  • Loading branch information
rhaas committed Feb 12, 2014
1 parent 7554f57 commit 14b667f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,23 @@ then
echo "Using bundled LORENE..."
echo "END MESSAGE"

# check for required tools. Do this here so that we don't require them when
# using the system library
if [ x$TAR = x ] ; then
echo 'BEGIN ERROR'
echo 'Could not find tar command. Please make sure that (gnu) tar is present'
echo 'and that the TAR variable is set to its location.'
echo 'END ERROR'
exit 1
fi
if [ x$PATCH = x ] ; then
echo 'BEGIN ERROR'
echo 'Could not find patch command. Please make sure that (gnu) tar is present'
echo 'and that the PATCH variable is set to its location.'
echo 'END ERROR'
exit 1
fi

# Set locations
THORN=LORENE
NAME=Lorene
Expand Down

0 comments on commit 14b667f

Please sign in to comment.