Add functions to return the center of a sub-image, rather than top-left corner

Fix up the build process to make sure out-of-tree builds work correctly
Fix the example script not finding the cva-match binary correctly
This commit is contained in:
Bradlee Speice
2012-06-22 15:38:41 -04:00
parent df26d0a95c
commit dab4d28932
7 changed files with 457 additions and 13 deletions

View File

@ -19,10 +19,10 @@
# REVISION: ---
#===============================================================================
CVAMATCH="`dirname $0`/../bin/cva-match"
CVAMATCH=`which cva-match`
if [ ! -x $CVAMATCH ]; then
echo "The cva-match binary was not found or is not executable. Please fix this!"
if [ ! -x "$CVA_MATCH" ]; then
echo "Could not find the cva-match binary! Can't continue..."
exit 255
fi