#!/bin/sh
#
# $Id: itk.sh,v 1.3 2001/08/19 15:22:06 issever Exp $
#
# all possible itkwish executables
itkarray="itkwish3.1 itkwish3 itkwish30 itkwish3.0 itkwish wish8.4 wish8.3 wish8.2"
set $itkarray
while [ ! -z "$1" ]; do
smm=`which $1`
if [ $? -eq 0 ]; then
echo ${smm}
exit 0
fi
shift
done
exit 1
# ##############################################################################
# ### LOG MESSAGES
# ### As suggested by the CVS-manual this region is put to the end of the file.
# ##############################################################################
#
# $Log: itk.sh,v $
# Revision 1.3 2001/08/19 15:22:06 issever
# replaced with Edwin's shorter version.
#
# Revision 1.2 2001/08/19 12:25:42 issever
# Added the cvs keywords Id at start of the file
# and Log at the end of the file
#
#
syntax highlighted by Code2HTML, v. 0.9.1